04-08-2008
I think you mean this:
BJAM=./tools/jam/src/bin.macosxx86/bjam
BJAM_CONFIG=
PREFIX=/opt/local
EPREFIX=/opt/local
LIBDIR=/opt/local/lib
INCLUDEDIR=/opt/local/include
LIBS= --without-python
all: .dummy
@echo "$(BJAM) $(BJAM_CONFIG) --user-config=user-config.jam $(LIBS)"
@$(BJAM) $(BJAM_CONFIG) --user-config=user-config.jam $(LIBS) || \
echo "Not all Boost libraries built properly."
clean: .dummy
rm -rf bin.v2
distclean: clean
rm -rf Makefile config.log
check: .dummy
@cd status && ../$(BJAM) $(BJAM_CONFIG) --user-config=../user-config.jam || echo "Some Boost regression tests failed. This is normal for many compilers."
install: .dummy
@echo "$(BJAM) $(BJAM_CONFIG) --user-config=user-config.jam --prefix=$(PREFIX) --exec-prefix=$(EPREFIX) --libdir=$(LIBDIR) --includedir=$(INCLUDEDIR) $(LIBS) install"
@$(BJAM) $(BJAM_CONFIG) --user-config=user-config.jam --prefix=$(PREFIX) --exec-prefix=$(EPREFIX) --libdir=$(LIBDIR) --includedir=$(INCLUDEDIR) $(LIBS) install || echo "Not all Boost libraries built properly."
.dummy:
The Boots libary will not build as they should?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi!!
I have problems installing perl5 in a Tru64 4.0F enviroment, and i need it to install OpenSSL and OpenSSH to establis a SFTP...
I'm installing perl 5.8.8 but an error occurr during make test, i ran ./perl harness and the result is the problem is on op/filetest.t
I didn't know what to... (0 Replies)
Discussion started by: irasela
0 Replies
2. Solaris
I have run into a problem while attempting to de-install netconnect from a Sol8 box. We got an error during the un-install script when it tries to remove SUNWsrsrp. It can't find the srsuser. We have no idea what user was specified initially. I have tried to remove the package on its own, to no... (2 Replies)
Discussion started by: i_am_homer
2 Replies
3. Programming
Hi,
I want to fork a new process from a daemon that needs terminal attachment to some ttyN or pts/N device. Here is the code
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <string.h>
int main(int... (5 Replies)
Discussion started by: ku@ntum
5 Replies
4. UNIX for Dummies Questions & Answers
Hey all..
I have a problem with the BitTorrent client called Deluge. (Deluge BitTorrent Client). Followed the guide on their homepage, but can't get it to work.
First of all I have installed Xcode Tools 3.0 and MacPorts. I did the "sudo port install deluge" command, and all packages seemed to... (1 Reply)
Discussion started by: Sixmax
1 Replies
5. Solaris
I just built my new computer with a q6600 quad core, 4 gig ram, Nvidia vidoo card but when I try to install the latest Solaris 10 on it the keyboard is not being detected when the installation starts so I'm unable to go complete the installation.
First I tried a USB keyboard and it didn't work,... (2 Replies)
Discussion started by: isomorphic
2 Replies
6. UNIX for Dummies Questions & Answers
Hi,
I'm new here so please excuse any stupidity that occurs in my post :P
My situation:
Have a java program which I have to run a ridiculous amount of times and put the output data into a text file.
Thought the easiest way to do this would be to delve into the world of scripts.
I am at home... (1 Reply)
Discussion started by: lozyness
1 Replies
7. UNIX for Dummies Questions & Answers
Hello,
When i attempt to install Java. I get this error code
Can someone tell me what im doing wrong. (2 Replies)
Discussion started by: Fob Upset
2 Replies
8. AIX
I have created an LPAR and the next step is to get SAMBA installed, I have mounted our NIM server up and copied over the SAMBA binaries .bff files. How do i install these? i tried doing this through SMIT but had no luck..? Any help would be greatly appreciated. AIX OS 6.1 (2 Replies)
Discussion started by: audis$
2 Replies
9. Fedora
hi all,
I open Matlab program from terminal. However, when I go back to terminal I can't do anything in it , only until Matlab is closed.
Can someone please advise me on how I can oversome this problem ?
thanks
peter (2 Replies)
Discussion started by: peter_071
2 Replies
10. Red Hat
Centos Behind The Proxy Server In My System , How Can I Set In Terminal Proxy ( Username & Password )
When Using The Command yum & rpm online I Will Respond Error
Thank You For Your Guidance (28 Replies)
Discussion started by: mnnn
28 Replies
LEARN ABOUT SUSE
pth-config
PTH-CONFIG(1) GNU Portable Threads PTH-CONFIG(1)
NAME
pth-config - Pth library build utility
VERSION
GNU Pth 2.0.7 (08-Jun-2006)
SYNOPSIS
pth-config [--help] [--version] [--all] [--prefix] [--exec-prefix] [--bindir] [--libdir] [--includedir] [--mandir] [--datadir] [--acdir]
[--cflags] [--ldflags] [--libs]
DESCRIPTION
The pth-config program is a little helper utility for easy configuring and building applications based on the pth(3) library. It can be
used to query the C compiler and linker flags which are required to correctly compile and link the application against the pth(3) library.
OPTIONS
pth-config accepts the following options:
--help
Prints the short usage information.
--version
Prints the version number and date of the installed pth(3) library.
--all
Forces the output of all flags, that is, including extra flags which are not Pth specific.
--prefix
Prints the installation prefix of architecture independent files
--exec-prefix
Prints the installation prefix of architecture dependent files.
--bindir
Prints the installation directory of binaries.
--libdir
Prints the installation directory of libraries.
--includedir
Prints the installation directory of include headers.
--mandir
Prints the installation directory of manual pages.
--datadir
Prints the installation directory of shared data.
--acdir
Prints the installation directory of autoconf data.
--cflags
Prints the C compiler flags which are needed to compile the pth(3)-based application. The output is usually added to the "CFLAGS" vari-
able of the applications "Makefile".
--ldflags
Prints the linker flags ("-L") which are needed to link the application with the pth(3) library. The output is usually added to the
"LDFLAGS" variable of the applications "Makefile".
--libs
Prints the library flags ("-l") which are needed to link the application with the pth(3) library. The output is usually added to the
"LIBS" variable of the applications "Makefile".
EXAMPLE
CC = cc
CFLAGS = -O `pth-config --cflags`
LDFLAGS = `pth-config --ldflags`
LIBS = -lm `pth-config --libs`
all: foo
foo: foo.o
$(CC) $(LDFLAGS) -o foo foo.o $(LIBS)
foo.o: foo.c
$(CC) $(CFLAGS) -c foo.c
SEE ALSO
pth(3), cc(1).
AUTHOR
Ralf S. Engelschall
rse@engelschall.com
www.engelschall.com
08-Jun-2006 GNU Pth 2.0.7 PTH-CONFIG(1)