#14043 closed defect (duplicate)
boost 1.34.1 (port install boost failure)
Reported by: | rob@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.6.0 |
Keywords: | Cc: | sanchom (Sancho McCann) | |
Port: | boost |
Description
Will cut and paste an install run below. Note that the Makefile generated for boost has what looks like another commands output stuck in it.
[rarnold@Macintosh examples]$ port search boost boost devel/boost 1.34.1 Collection of portable C++ source libraries boost-build devel/boost-build 2.0-m11 Build system for large project software construction boost-jam devel/boost-jam 3.1.15 Boost.Jam (BJam) is a build tool based on FTJam [rarnold@Macintosh examples]$ sudo port install boost Password: ---> Fetching boost-jam ---> Attempting to fetch boost-jam-3.1.15.tgz from http://downloads.sourceforge.net/boost ---> Verifying checksum(s) for boost-jam ---> Extracting boost-jam ---> Configuring boost-jam ---> Building boost-jam ---> Staging boost-jam into destroot ---> Installing boost-jam 3.1.15_0 ---> Activating boost-jam 3.1.15_0 ---> Cleaning boost-jam ---> Fetching gmake ---> Attempting to fetch make-3.81.tar.bz2 from http://ftp.gnu.org/gnu/make ---> Verifying checksum(s) for gmake ---> Extracting gmake ---> Configuring gmake ---> Building gmake with target all ---> Staging gmake into destroot ---> Installing gmake 3.81_0 ---> Activating gmake 3.81_0 ---> Cleaning gmake ---> Fetching boost ---> Attempting to fetch boost_1_34_1.tar.bz2 from http://downloads.sourceforge.net/boost ---> Verifying checksum(s) for boost ---> Extracting boost ---> Configuring boost ---> Building boost with target all Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_boost/work/boost_1_34_1" && gmake all " returned error 2 Command output: Makefile:2: *** missing separator. Stop. Error: Status 1 encountered during processing. [rarnold@Macintosh examples]$ cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_boost/work/boost_1_34_1" [rarnold@Macintosh boost_1_34_1]$ ls Jamfile.v2 boost doc people tools Jamrules boost-build.jam google_logo_40wht.png project-root.jam user-config.jam LICENSE_1_0.txt boost.css index.htm regression wiki Makefile boost.png libs rst.css README configure more status [rarnold@Macintosh boost_1_34_1]$ gmake all Makefile:2: *** missing separator. Stop. [rarnold@Macintosh boost_1_34_1]$ more Makefile BJAM=./tools/jam/src/ ...skipped bjam for lack of ... ...failed updating 1 target.../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=$(LI BDIR) --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: [rarnold@Macintosh boost_1_34_1]$
Change History (7)
comment:1 Changed 17 years ago by rob@…
comment:2 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | sanchom@… added |
---|
Cc'ing the port's maintainer.
comment:3 Changed 17 years ago by yunzheng.hu@…
somehow this only happens when 'boost-jam' gets installed by the dependency graph of the 'boost' port. so installing 'boost-jam' first and then doing a install of 'boost' seem to work fine. I have no idea why this happens though.
comment:4 Changed 17 years ago by dane.springmeyer@…
I've been attempting to build boost over and over recently. Each time I run into this problem. Without boost-jam installed I attempt to install boost and the build bails at the point mentioned above. Then I uninstall and clean both, installing boost-jam on its own first and then boost. Then things work fine. I wish this were easy to fix.
comment:5 Changed 17 years ago by jmroot (Joshua Root)
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Duplicate of #13714.
comment:6 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)
Port: | boost added |
---|
fyi, after doing a port clean boost, and a port -d install boost, it got past the above point. Conjecture to me is that one of the install steps is doing a patch, and is written wrong and assumes something already there? Whatever the case, looks like it is going to work now, but that something is not quite right in the port.