Hi, I am new to Boost C++, and want to install it to use Semantic Search engine. I am trying to run "make" but it gives me error when i run make. Please guid eme through this . I am using Cygwin,win XP. Following are the steps I performed. $ tar --bzip2 -xf /path/to/boost_1_34_1.tar.bz2 $ ./configure Building Boost.Jam with toolset gcc... tools/jam/src/bin.cygwinx86/bjam Detecting Python version... 2.5 Detecting Python root... /usr Unicode/ICU support for Boost.Regex?... not found. Backing up existing Boost.Build configuration in user-config.jam.4 Generating Boost.Build configuration in user-config.jam... Generating Makefile... $ make MAKE Version 2.0 Copyright (c) 1987, 1988 Borland International Error makefile 28: Command syntax error Available memory 547555 bytes *** 1 errors in compile *** The content of the Makefile is as follow: BJAM=./tools/jam/src/bin.cygwinx86/bjam BJAM_CONFIG= PREFIX=/usr/local EPREFIX=/usr/local LIBDIR=/usr/local/lib INCLUDEDIR=/usr/local/include LIBS= 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: Regards, Suhas Majale
For cygwin, here is what I do: - unzip boost_1_34_1.tar.bz2 > tar xvfj boost_1_34_1.tar.bz2 - go in boost_1_34_1 > cd boost_1_34_1 - fix a bug in boost/filesystem/convenience.hpp: - replace "define BOOST_FS_FUNC_STRING std::string" by "define BOOST_FS_FUNC_STRING inline std::string" - build jam (use the prefix where you want to install the library): > configure --without-icu --without-libraries=python --prefix=/cygdrive/d/Softs/boost_cyg - change Makefile: - BJAM_CONFIG=-sNO_BZIP2=1 -sNO_ZLIB=1 link=static threading=single runtime-link=shared --layout=system - LIBS=--without-python release - change user-config.jam: - add: using gcc : : :-DBOOST_POSIX_API -DBOOST_POSIX_PATH -DBOOST_POSIX_API -DBOOST_POSIX_PATH compilerflags>-DBOOST_POSIX_API -DBOOST_POSIX_PATH ; - build boost: > make install Regards, F. Bron boost-users-bounces@lists.boost.org a écrit sur 29/12/2007 13:34:51 : > Hi, > > I am new to Boost C++, and want to install it to use Semantic Search engine. > I am trying to run "make" but it gives me error when i run make. > Please guid eme through this . > I am using Cygwin,win XP. > > Following are the steps I performed. > > $ tar --bzip2 -xf /path/to/boost_1_34_1.tar.bz2 > > $ ./configure > Building Boost.Jam with toolset gcc... tools/jam/src/bin.cygwinx86/bjam > Detecting Python version... 2.5 > Detecting Python root... /usr > Unicode/ICU support for Boost.Regex?... not found. > Backing up existing Boost.Build configuration in user-config.jam.4 > Generating Boost.Build configuration in user-config.jam.. . > Generating Makefile... > > $ make > MAKE Version 2.0 Copyright (c) 1987, 1988 Borland International > Error makefile 28: Command syntax error > Available memory 547555 bytes > *** 1 errors in compile *** > > The content of the Makefile is as follow: > > BJAM=./tools/jam/src/bin.cygwinx86/bjam > BJAM_CONFIG= > PREFIX=/usr/local > EPREFIX=/usr/local > LIBDIR=/usr/local/lib > INCLUDEDIR=/usr/local/include > LIBS= > 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: > > > Regards, Suhas Majale_______________________________________________ > Boost-users mailing list > Boost-users@lists.boost.org > http://lists.boost.org/mailman/listinfo.cgi/boost-users Avis : Ce message et toute pièce jointe sont la propriété d'Alcan et sont destinés seulement aux personnes ou à l'entité à qui le message est adressé. Si vous avez reçu ce message par erreur, veuillez le détruire et en aviser l'expéditeur par courriel. Si vous n'êtes pas le destinataire du message, vous n'êtes pas autorisé à utiliser, à copier ou à divulguer le contenu du message ou ses pièces jointes en tout ou en partie. Notice: This message and any attachments are the property of Alcan and are intended solely for the named recipients or entity to whom this message is addressed. If you have received this message in error please inform the sender via e-mail and destroy the message. If you are not the intended recipient you are not allowed to use, copy or disclose the contents or attachments in whole or in part.
HI Frederic, I made the changes as mentioned by you, but still i am getting the same error in the make. It gives error for this last line in the make file *.dummy:* On Dec 30, 2007 12:06 AM,wrote: > > > For cygwin, here is what I do: > > - unzip boost_1_34_1.tar.bz2 > > tar xvfj boost_1_34_1.tar.bz2 > - go in boost_1_34_1 > > cd boost_1_34_1 > - fix a bug in boost/filesystem/convenience.hpp: > - replace "define BOOST_FS_FUNC_STRING std::string" by "define > BOOST_FS_FUNC_STRING inline std::string" > - build jam (use the prefix where you want to install the library): > > configure --without-icu --without-libraries=python > --prefix=/cygdrive/d/Softs/boost_cyg > - change Makefile: > - BJAM_CONFIG=-sNO_BZIP2=1 -sNO_ZLIB=1 link=static threading=single > runtime-link=shared --layout=system > - LIBS=--without-python release > - change user-config.jam: > - add: using gcc : : : -DBOOST_POSIX_API > -DBOOST_POSIX_PATH -DBOOST_POSIX_API > -DBOOST_POSIX_PATH compilerflags>-DBOOST_POSIX_API > -DBOOST_POSIX_PATH ; > - build boost: > > make install > > Regards, > > F. Bron > > boost-users-bounces@lists.boost.org a écrit sur 29/12/2007 13:34:51 : > > > Hi, > > > > I am new to Boost C++, and want to install it to use Semantic Search > engine. > > I am trying to run "make" but it gives me error when i run make. > > Please guid eme through this . > > I am using Cygwin,win XP. > > > > Following are the steps I performed. > > > > $ tar --bzip2 -xf /path/to/boost_1_34_1.tar.bz2 > > > > $ ./configure > > Building Boost.Jam with toolset gcc... tools/jam/src/bin.cygwinx86/bjam > > Detecting Python version... 2.5 > > Detecting Python root... /usr > > Unicode/ICU support for Boost.Regex?... not found. > > Backing up existing Boost.Build configuration in user-config.jam.4 > > Generating Boost.Build configuration in user-config.jam.. . > > Generating Makefile... > > > > $ make > > MAKE Version 2.0 Copyright (c) 1987, 1988 Borland International > > Error makefile 28: Command syntax error > > Available memory 547555 bytes > > *** 1 errors in compile *** > > > > The content of the Makefile is as follow: > > > > BJAM=./tools/jam/src/bin.cygwinx86/bjam > > BJAM_CONFIG= > > PREFIX=/usr/local > > EPREFIX=/usr/local > > LIBDIR=/usr/local/lib > > INCLUDEDIR=/usr/local/include > > LIBS= > > 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: > > > > > > Regards, Suhas Majale_______________________________________________ > > Boost-users mailing list > > Boost-users@lists.boost.org > > http://lists.boost.org/mailman/listinfo.cgi/boost-users > > Avis : > Ce message et toute pièce jointe sont la propriété d'Alcan et sont > destinés seulement aux personnes ou à l'entité à qui le message est adressé. > Si vous avez reçu ce message par erreur, veuillez le > détruire et en aviser l'expéditeur par courriel. Si vous n'êtes pas le > destinataire du message, vous n'êtes pas autorisé à utiliser, à copier ou à > divulguer le contenu du message ou ses pièces jointes > en tout ou en partie. > > Notice: > This message and any attachments are the property of Alcan and are > intended solely for the named recipients or entity to whom this message is > addressed. If you have received this message in error > please inform the sender via e-mail and destroy the message. If you are > not the intended recipient you are not allowed to use, copy or disclose the > contents or attachments in whole or in part. > > _______________________________________________ > Boost-users mailing list > Boost-users@lists.boost.org > http://lists.boost.org/mailman/listinfo.cgi/boost-users >
It seems you are not using GNU make. Try /usr/bin/make instead of make. Fred ___________________________________ Frédéric Bron (frederic.bron@alcan.com) Unité ALT, Alcan CRV, BP 27, 38341 Voreppe téléphone : +33 4 76 57 81 72 télécopie : +33 4 76 57 80 99 boost-users-bounces@lists.boost.org a écrit sur 30/12/2007 10:08:05 : > HI Frederic, > > I made the changes as mentioned by you, but still i am getting the > same error in the make. > It gives error for this last line in the make file .dummy: > On Dec 30, 2007 12:06 AM,wrote: > > > For cygwin, here is what I do: > > - unzip boost_1_34_1.tar.bz2 > > tar xvfj boost_1_34_1.tar.bz2 > - go in boost_1_34_1 > > cd boost_1_34_1 > - fix a bug in boost/filesystem/convenience.hpp: > - replace "define BOOST_FS_FUNC_STRING std::string" by "define > BOOST_FS_FUNC_STRING inline std::string" > - build jam (use the prefix where you want to install the library): > > configure --without-icu --without-libraries=python -- > prefix=/cygdrive/d/Softs/boost_cyg > - change Makefile: > - BJAM_CONFIG=-sNO_BZIP2=1 -sNO_ZLIB=1 link=static > threading=single runtime-link=shared --layout=system > - LIBS=--without-python release > - change user-config.jam: > - add: using gcc : : : -DBOOST_POSIX_API - > DBOOST_POSIX_PATH -DBOOST_POSIX_API - > DBOOST_POSIX_PATH compilerflags>-DBOOST_POSIX_API > -DBOOST_POSIX_PATH ; > - build boost: > > make install > > Regards, > > F. Bron > > boost-users-bounces@lists.boost.org a écrit sur 29/12/2007 13:34:51 : > > > Hi, > > > > I am new to Boost C++, and want to install it to use Semantic Search engine. > > I am trying to run "make" but it gives me error when i run make. > > Please guid eme through this . > > I am using Cygwin,win XP. > > > > Following are the steps I performed. > > > > $ tar --bzip2 -xf /path/to/boost_1_34_1.tar.bz2 > > > > $ ./configure > > Building Boost.Jam with toolset gcc... tools/jam/src/bin.cygwinx86/bjam > > Detecting Python version... 2.5 > > Detecting Python root... /usr > > Unicode/ICU support for Boost.Regex?... not found. > > Backing up existing Boost.Build configuration in user-config.jam.4 > > Generating Boost.Build configuration in user-config.jam.. . > > Generating Makefile... > > > > $ make > > MAKE Version 2.0 Copyright (c) 1987, 1988 Borland International > > Error makefile 28: Command syntax error > > Available memory 547555 bytes > > *** 1 errors in compile *** > > > > The content of the Makefile is as follow: > > > > BJAM=./tools/jam/src/bin.cygwinx86/bjam > > BJAM_CONFIG= > > PREFIX=/usr/local > > EPREFIX=/usr/local > > LIBDIR=/usr/local/lib > > INCLUDEDIR=/usr/local/include > > LIBS= > > 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: > > > > > > Regards, Suhas Majale_______________________________________________ > > Boost-users mailing list > > Boost-users@lists.boost.org > > http://lists.boost.org/mailman/listinfo.cgi/boost-users > > Avis : > Ce message et toute pièce jointe sont la propriété d'Alcan et sont > destinés seulement aux personnes ou à l'entité à qui le message est > adressé. Si vous avez reçu ce message par erreur, veuillez le > détruire et en aviser l'expéditeur par courriel. Si vous n'êtes pas > le destinataire du message, vous n'êtes pas autorisé à utiliser, à > copier ou à divulguer le contenu du message ou ses pièces jointes > en tout ou en partie. > > Notice: > This message and any attachments are the property of Alcan and are > intended solely for the named recipients or entity to whom this > message is addressed. If you have received this message in error > please inform the sender via e-mail and destroy the message. If you > are not the intended recipient you are not allowed to use, copy or > disclose the contents or attachments in whole or in part. > > _______________________________________________ > Boost-users mailing list > Boost-users@lists.boost.org > http://lists.boost.org/mailman/listinfo.cgi/boost-users > _______________________________________________ > Boost-users mailing list > Boost-users@lists.boost.org > http://lists.boost.org/mailman/listinfo.cgi/boost-users
HI, When i make from there, it says, $ make install MAKE Version 2.0 Copyright (c) 1987, 1988 Borland International Fatal: Unable to open makefile Regards, Suhas. On Dec 30, 2007 3:56 PM,wrote: > It seems you are not using GNU make. Try /usr/bin/make instead of make. > > Fred > ___________________________________ > Frédéric Bron (frederic.bron@alcan.com) > Unité ALT, Alcan CRV, BP 27, 38341 Voreppe > téléphone : +33 4 76 57 81 72 > télécopie : +33 4 76 57 80 99 > > boost-users-bounces@lists.boost.org a écrit sur 30/12/2007 10:08:05 : > > > HI Frederic, > > > > I made the changes as mentioned by you, but still i am getting the > > same error in the make. > > It gives error for this last line in the make file .dummy: > > > On Dec 30, 2007 12:06 AM, wrote: > > > > > > For cygwin, here is what I do: > > > > - unzip boost_1_34_1.tar.bz2 > > > tar xvfj boost_1_34_1.tar.bz2 > > - go in boost_1_34_1 > > > cd boost_1_34_1 > > - fix a bug in boost/filesystem/convenience.hpp: > > - replace "define BOOST_FS_FUNC_STRING std::string" by "define > > BOOST_FS_FUNC_STRING inline std::string" > > - build jam (use the prefix where you want to install the library): > > > configure --without-icu --without-libraries=python -- > > prefix=/cygdrive/d/Softs/boost_cyg > > - change Makefile: > > - BJAM_CONFIG=-sNO_BZIP2=1 -sNO_ZLIB=1 link=static > > threading=single runtime-link=shared --layout=system > > - LIBS=--without-python release > > - change user-config.jam: > > - add: using gcc : : : -DBOOST_POSIX_API - > > DBOOST_POSIX_PATH -DBOOST_POSIX_API - > > DBOOST_POSIX_PATH compilerflags>-DBOOST_POSIX_API > > -DBOOST_POSIX_PATH ; > > - build boost: > > > make install > > > > Regards, > > > > F. Bron > > > > boost-users-bounces@lists.boost.org a écrit sur 29/12/2007 13:34:51 : > > > > > Hi, > > > > > > I am new to Boost C++, and want to install it to use Semantic Search > engine. > > > I am trying to run "make" but it gives me error when i run make. > > > Please guid eme through this . > > > I am using Cygwin,win XP. > > > > > > Following are the steps I performed. > > > > > > $ tar --bzip2 -xf /path/to/boost_1_34_1.tar.bz2 > > > > > > $ ./configure > > > Building Boost.Jam with toolset gcc... > tools/jam/src/bin.cygwinx86/bjam > > > Detecting Python version... 2.5 > > > Detecting Python root... /usr > > > Unicode/ICU support for Boost.Regex?... not found. > > > Backing up existing Boost.Build configuration in user-config.jam.4 > > > Generating Boost.Build configuration in user-config.jam.. . > > > Generating Makefile... > > > > > > $ make > > > MAKE Version 2.0 Copyright (c) 1987, 1988 Borland International > > > Error makefile 28: Command syntax error > > > Available memory 547555 bytes > > > *** 1 errors in compile *** > > > > > > The content of the Makefile is as follow: > > > > > > BJAM=./tools/jam/src/bin.cygwinx86/bjam > > > BJAM_CONFIG= > > > PREFIX=/usr/local > > > EPREFIX=/usr/local > > > LIBDIR=/usr/local/lib > > > INCLUDEDIR=/usr/local/include > > > LIBS= > > > 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: > > > > > > > > > Regards, Suhas Majale_______________________________________________ > > > Boost-users mailing list > > > Boost-users@lists.boost.org > > > http://lists.boost.org/mailman/listinfo.cgi/boost-users > > > > Avis : > > Ce message et toute pièce jointe sont la propriété d'Alcan et sont > > destinés seulement aux personnes ou à l'entité à qui le message est > > adressé. Si vous avez reçu ce message par erreur, veuillez le > > détruire et en aviser l'expéditeur par courriel. Si vous n'êtes pas > > le destinataire du message, vous n'êtes pas autorisé à utiliser, à > > copier ou à divulguer le contenu du message ou ses pièces jointes > > en tout ou en partie. > > > > Notice: > > This message and any attachments are the property of Alcan and are > > intended solely for the named recipients or entity to whom this > > message is addressed. If you have received this message in error > > please inform the sender via e-mail and destroy the message. If you > > are not the intended recipient you are not allowed to use, copy or > > disclose the contents or attachments in whole or in part. > > > > _______________________________________________ > > Boost-users mailing list > > Boost-users@lists.boost.org > > http://lists.boost.org/mailman/listinfo.cgi/boost-users > > _______________________________________________ > > Boost-users mailing list > > Boost-users@lists.boost.org > > http://lists.boost.org/mailman/listinfo.cgi/boost-users > > _______________________________________________ > Boost-users mailing list > Boost-users@lists.boost.org > http://lists.boost.org/mailman/listinfo.cgi/boost-users >
I mean typing the following command: $ /usr/bin/make install If you still get the same issue, your cygwin installation is maybe broken and you'd better reinstall it. But I suspect that you have installed a Borland Make and it is in the PATH variable before /usr/bin. You can also invoke bjam directly without using make: $ ./tools/jam/src/bin.cygwinx86/bjam -sNO_BZIP2=1 -sNO_ZLIB=1 link=static threading=single runtime-link=shared --layout=system --user-config=user-config.jam --prefix=/cygdrive/d/Softs/boost_cyg --exec-prefix=/cygdrive/d/Softs/boost_cyg --libdir=/cygdrive/d/Softs/boost_cyg/lib --includedir=/cygdrive/d/Softs/boost_cyg/include --without-python release install Fred boost-users-bounces@lists.boost.org a écrit sur 30/12/2007 11:30:12 : > HI, > > When i make from there, it says, > > $ make install > MAKE Version 2.0 Copyright (c) 1987, 1988 Borland International > Fatal: Unable to open makefile > Regards, > Suhas. > On Dec 30, 2007 3:56 PM,wrote: > It seems you are not using GNU make. Try /usr/bin/make instead of make. > > Fred > ___________________________________ > Frédéric Bron (frederic.bron@alcan.com) > Unité ALT, Alcan CRV, BP 27, 38341 Voreppe > téléphone : +33 4 76 57 81 72 > télécopie : +33 4 76 57 80 99 > > boost-users-bounces@lists.boost.org a écrit sur 30/12/2007 10:08:05 : > > > HI Frederic, > > > > I made the changes as mentioned by you, but still i am getting the > > same error in the make. > > It gives error for this last line in the make file .dummy: > > > On Dec 30, 2007 12:06 AM, wrote: > > > > > > For cygwin, here is what I do: > > > > - unzip boost_1_34_1.tar.bz2 > > > tar xvfj boost_1_34_1.tar.bz2 > > - go in boost_1_34_1 > > > cd boost_1_34_1 > > - fix a bug in boost/filesystem/convenience.hpp: > > - replace "define BOOST_FS_FUNC_STRING std::string" by "define > > BOOST_FS_FUNC_STRING inline std::string" > > - build jam (use the prefix where you want to install the library): > > > configure --without-icu --without-libraries=python -- > > prefix=/cygdrive/d/Softs/boost_cyg > > - change Makefile: > > - BJAM_CONFIG=-sNO_BZIP2=1 -sNO_ZLIB=1 link=static > > threading=single runtime-link=shared --layout=system > > - LIBS=--without-python release > > - change user-config.jam : > > - add: using gcc : : : -DBOOST_POSIX_API - > > DBOOST_POSIX_PATH -DBOOST_POSIX_API - > > DBOOST_POSIX_PATH compilerflags>-DBOOST_POSIX_API > > -DBOOST_POSIX_PATH ; > > - build boost: > > > make install > > > > Regards, > > > > F. Bron > > > > boost-users-bounces@lists.boost.org a écrit sur 29/12/2007 13:34:51 : > > > > > Hi, > > > > > > I am new to Boost C++, and want to install it to use Semantic > Search engine. > > > I am trying to run "make" but it gives me error when i run make. > > > Please guid eme through this . > > > I am using Cygwin,win XP. > > > > > > Following are the steps I performed. > > > > > > $ tar --bzip2 -xf /path/to/boost_1_34_1.tar.bz2 > > > > > > $ ./configure > > > Building Boost.Jam with toolset gcc... tools/jam/src/bin.cygwinx86/bjam > > > Detecting Python version... 2.5 > > > Detecting Python root... /usr > > > Unicode/ICU support for Boost.Regex?... not found. > > > Backing up existing Boost.Build configuration in user-config.jam.4 > > > Generating Boost.Build configuration in user-config.jam.. . > > > Generating Makefile... > > > > > > $ make > > > MAKE Version 2.0 Copyright (c) 1987, 1988 Borland International > > > Error makefile 28: Command syntax error > > > Available memory 547555 bytes > > > *** 1 errors in compile *** > > > > > > The content of the Makefile is as follow: > > > > > > BJAM=./tools/jam/src/bin.cygwinx86/bjam > > > BJAM_CONFIG= > > > PREFIX=/usr/local > > > EPREFIX=/usr/local > > > LIBDIR=/usr/local/lib > > > INCLUDEDIR=/usr/local/include > > > LIBS= > > > 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: > > > > > > > > > Regards, Suhas Majale_______________________________________________ > > > Boost-users mailing list > > > Boost-users@lists.boost.org > > > http://lists.boost.org/mailman/listinfo.cgi/boost-users > > > > Avis : > > Ce message et toute pièce jointe sont la propriété d'Alcan et sont > > destinés seulement aux personnes ou à l'entité à qui le message est > > adressé. Si vous avez reçu ce message par erreur, veuillez le > > détruire et en aviser l'expéditeur par courriel. Si vous n'êtes pas > > le destinataire du message, vous n'êtes pas autorisé à utiliser, à > > copier ou à divulguer le contenu du message ou ses pièces jointes > > en tout ou en partie. > > > > Notice: > > This message and any attachments are the property of Alcan and are > > intended solely for the named recipients or entity to whom this > > message is addressed. If you have received this message in error > > please inform the sender via e-mail and destroy the message. If you > > are not the intended recipient you are not allowed to use, copy or > > disclose the contents or attachments in whole or in part. > > > > _______________________________________________ > > Boost-users mailing list > > Boost-users@lists.boost.org > > http://lists.boost.org/mailman/listinfo.cgi/boost-users > > _______________________________________________ > > Boost-users mailing list > > Boost-users@lists.boost.org > > http://lists.boost.org/mailman/listinfo.cgi/boost-users > > _______________________________________________ > Boost-users mailing list > Boost-users@lists.boost.org > http://lists.boost.org/mailman/listinfo.cgi/boost-users > _______________________________________________ > Boost-users mailing list > Boost-users@lists.boost.org > http://lists.boost.org/mailman/listinfo.cgi/boost-users
The command you gave works, but where do I get the *lib *and *include* directory generated? I mean where do the library files get generated? I need to set the BOOST_ROOT env variable to build my Semantic Search engine. Regards, Suhas On Dec 30, 2007 7:14 PM,wrote: > I mean typing the following command: > $ /usr/bin/make install > > If you still get the same issue, your cygwin installation is maybe broken > and you'd better reinstall it. But I suspect that you have installed a > Borland Make and it is in the PATH variable before > /usr/bin. > > You can also invoke bjam directly without using make: > $ ./tools/jam/src/bin.cygwinx86/bjam -sNO_BZIP2=1 -sNO_ZLIB=1 link=static > threading=single runtime-link=shared --layout=system --user-config= > user-config.jam --prefix=/cygdrive/d/Softs/boost_cyg > --exec-prefix=/cygdrive/d/Softs/boost_cyg > --libdir=/cygdrive/d/Softs/boost_cyg/lib > --includedir=/cygdrive/d/Softs/boost_cyg/include --without-python release > install > > Fred > > boost-users-bounces@lists.boost.org a écrit sur 30/12/2007 11:30:12 : > > > HI, > > > > When i make from there, it says, > > > > $ make install > > MAKE Version 2.0 Copyright (c) 1987, 1988 Borland International > > Fatal: Unable to open makefile > > Regards, > > Suhas. > > > On Dec 30, 2007 3:56 PM, wrote: > > It seems you are not using GNU make. Try /usr/bin/make instead of make. > > > > Fred > > ___________________________________ > > Frédéric Bron (frederic.bron@alcan.com) > > Unité ALT, Alcan CRV, BP 27, 38341 Voreppe > > téléphone : +33 4 76 57 81 72 > > télécopie : +33 4 76 57 80 99 > > > > boost-users-bounces@lists.boost.org a écrit sur 30/12/2007 10:08:05 : > > > > > HI Frederic, > > > > > > I made the changes as mentioned by you, but still i am getting the > > > same error in the make. > > > It gives error for this last line in the make file .dummy: > > > > > On Dec 30, 2007 12:06 AM, < frederic.bron@alcan.com> wrote: > > > > > > > > > For cygwin, here is what I do: > > > > > > - unzip boost_1_34_1.tar.bz2 > > > > tar xvfj boost_1_34_1.tar.bz2 > > > - go in boost_1_34_1 > > > > cd boost_1_34_1 > > > - fix a bug in boost/filesystem/convenience.hpp: > > > - replace "define BOOST_FS_FUNC_STRING std::string" by "define > > > BOOST_FS_FUNC_STRING inline std::string" > > > - build jam (use the prefix where you want to install the library): > > > > configure --without-icu --without-libraries=python -- > > > prefix=/cygdrive/d/Softs/boost_cyg > > > - change Makefile: > > > - BJAM_CONFIG=-sNO_BZIP2=1 -sNO_ZLIB=1 link=static > > > threading=single runtime-link=shared --layout=system > > > - LIBS=--without-python release > > > - change user-config.jam : > > > - add: using gcc : : : -DBOOST_POSIX_API - > > > DBOOST_POSIX_PATH -DBOOST_POSIX_API - > > > DBOOST_POSIX_PATH compilerflags>-DBOOST_POSIX_API > > > -DBOOST_POSIX_PATH ; > > > - build boost: > > > > make install > > > > > > Regards, > > > > > > F. Bron > > > > > > boost-users-bounces@lists.boost.org a écrit sur 29/12/2007 13:34:51 : > > > > > > > Hi, > > > > > > > > I am new to Boost C++, and want to install it to use Semantic > > Search engine. > > > > I am trying to run "make" but it gives me error when i run make. > > > > Please guid eme through this . > > > > I am using Cygwin,win XP. > > > > > > > > Following are the steps I performed. > > > > > > > > $ tar --bzip2 -xf /path/to/boost_1_34_1.tar.bz2 > > > > > > > > $ ./configure > > > > Building Boost.Jam with toolset gcc... > tools/jam/src/bin.cygwinx86/bjam > > > > Detecting Python version... 2.5 > > > > Detecting Python root... /usr > > > > Unicode/ICU support for Boost.Regex?... not found. > > > > Backing up existing Boost.Build configuration in user-config.jam.4 > > > > Generating Boost.Build configuration in user-config.jam.. . > > > > Generating Makefile... > > > > > > > > $ make > > > > MAKE Version 2.0 Copyright (c) 1987, 1988 Borland International > > > > Error makefile 28: Command syntax error > > > > Available memory 547555 bytes > > > > *** 1 errors in compile *** > > > > > > > > The content of the Makefile is as follow: > > > > > > > > BJAM=./tools/jam/src/bin.cygwinx86/bjam > > > > BJAM_CONFIG= > > > > PREFIX=/usr/local > > > > EPREFIX=/usr/local > > > > LIBDIR=/usr/local/lib > > > > INCLUDEDIR=/usr/local/include > > > > LIBS= > > > > 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: > > > > > > > > > > > > Regards, Suhas Majale_______________________________________________ > > > > > Boost-users mailing list > > > > Boost-users@lists.boost.org > > > > http://lists.boost.org/mailman/listinfo.cgi/boost-users > > > > > > Avis : > > > Ce message et toute pièce jointe sont la propriété d'Alcan et sont > > > destinés seulement aux personnes ou à l'entité à qui le message est > > > adressé. Si vous avez reçu ce message par erreur, veuillez le > > > détruire et en aviser l'expéditeur par courriel. Si vous n'êtes pas > > > le destinataire du message, vous n'êtes pas autorisé à utiliser, à > > > copier ou à divulguer le contenu du message ou ses pièces jointes > > > en tout ou en partie. > > > > > > Notice: > > > This message and any attachments are the property of Alcan and are > > > intended solely for the named recipients or entity to whom this > > > message is addressed. If you have received this message in error > > > please inform the sender via e-mail and destroy the message. If you > > > are not the intended recipient you are not allowed to use, copy or > > > disclose the contents or attachments in whole or in part. > > > > > > _______________________________________________ > > > Boost-users mailing list > > > Boost-users@lists.boost.org > > > http://lists.boost.org/mailman/listinfo.cgi/boost-users > > > _______________________________________________ > > > Boost-users mailing list > > > Boost-users@lists.boost.org > > > http://lists.boost.org/mailman/listinfo.cgi/boost-users > > > > _______________________________________________ > > Boost-users mailing list > > Boost-users@lists.boost.org > > http://lists.boost.org/mailman/listinfo.cgi/boost-users > > _______________________________________________ > > Boost-users mailing list > > Boost-users@lists.boost.org > > http://lists.boost.org/mailman/listinfo.cgi/boost-users > > _______________________________________________ > Boost-users mailing list > Boost-users@lists.boost.org > http://lists.boost.org/mailman/listinfo.cgi/boost-users >
If you used exactly the same command as I wrote, it is in /cygdrive/d/Softs/boost_cyg/include/ and /cygdrive/d/Softs/boost_cyg/lib. If you want it somewhere else, you have to specify a different --prefix option. Fred ___________________________________ Frédéric Bron (frederic.bron@alcan.com) Unité ALT, Alcan CRV, BP 27, 38341 Voreppe téléphone : +33 4 76 57 81 72 télécopie : +33 4 76 57 80 99 boost-users-bounces@lists.boost.org a écrit sur 30/12/2007 15:39:58 : > The command you gave works, > but where do I get the lib and include directory generated? > I mean where do the library files get generated? > I need to set the BOOST_ROOT env variable to build my Semantic Search engine. > > Regards, Suhas > > On Dec 30, 2007 7:14 PM,wrote: > I mean typing the following command: > $ /usr/bin/make install > > If you still get the same issue, your cygwin installation is maybe > broken and you'd better reinstall it. But I suspect that you have > installed a Borland Make and it is in the PATH variable before > /usr/bin. > > You can also invoke bjam directly without using make: > $ ./tools/jam/src/bin.cygwinx86/bjam -sNO_BZIP2=1 -sNO_ZLIB=1 > link=static threading=single runtime-link=shared --layout=system -- > user-config=user-config.jam --prefix=/cygdrive/d/Softs/boost_cyg > --exec-prefix=/cygdrive/d/Softs/boost_cyg -- > libdir=/cygdrive/d/Softs/boost_cyg/lib -- > includedir=/cygdrive/d/Softs/boost_cyg/include --without-python > release install > > Fred > > boost-users-bounces@lists.boost.org a écrit sur 30/12/2007 11:30:12 : > > > HI, > > > > When i make from there, it says, > > > > $ make install > > MAKE Version 2.0 Copyright (c) 1987, 1988 Borland International > > Fatal: Unable to open makefile > > Regards, > > Suhas. > > > On Dec 30, 2007 3:56 PM, wrote: > > It seems you are not using GNU make. Try /usr/bin/make instead of make. > > > > Fred > > ___________________________________ > > Frédéric Bron (frederic.bron@alcan.com) > > Unité ALT, Alcan CRV, BP 27, 38341 Voreppe > > téléphone : +33 4 76 57 81 72 > > télécopie : +33 4 76 57 80 99 > > > > boost-users-bounces@lists.boost.org a écrit sur 30/12/2007 10:08:05 : > > > > > HI Frederic, > > > > > > I made the changes as mentioned by you, but still i am getting the > > > same error in the make. > > > It gives error for this last line in the make file .dummy: > > > > > On Dec 30, 2007 12:06 AM, < frederic.bron@alcan.com> wrote: > > > > > > > > > For cygwin, here is what I do: > > > > > > - unzip boost_1_34_1.tar.bz2 > > > > tar xvfj boost_1_34_1.tar.bz2 > > > - go in boost_1_34_1 > > > > cd boost_1_34_1 > > > - fix a bug in boost/filesystem/convenience.hpp: > > > - replace "define BOOST_FS_FUNC_STRING std::string" by "define > > > BOOST_FS_FUNC_STRING inline std::string" > > > - build jam (use the prefix where you want to install the library): > > > > configure --without-icu --without-libraries=python -- > > > prefix=/cygdrive/d/Softs/boost_cyg > > > - change Makefile: > > > - BJAM_CONFIG=-sNO_BZIP2=1 -sNO_ZLIB=1 link=static > > > threading=single runtime-link=shared --layout=system > > > - LIBS=--without-python release > > > - change user-config.jam : > > > - add: using gcc : : : -DBOOST_POSIX_API - > > > DBOOST_POSIX_PATH -DBOOST_POSIX_API - > > > DBOOST_POSIX_PATH compilerflags>-DBOOST_POSIX_API > > > -DBOOST_POSIX_PATH ; > > > - build boost: > > > > make install > > > > > > Regards, > > > > > > F. Bron > > > > > > boost-users-bounces@lists.boost.org a écrit sur 29/12/2007 13:34:51 : > > > > > > > Hi, > > > > > > > > I am new to Boost C++, and want to install it to use Semantic > > Search engine. > > > > I am trying to run "make" but it gives me error when i run make. > > > > Please guid eme through this . > > > > I am using Cygwin,win XP. > > > > > > > > Following are the steps I performed. > > > > > > > > $ tar --bzip2 -xf /path/to/boost_1_34_1.tar.bz2 > > > > > > > > $ ./configure > > > > Building Boost.Jam with toolset gcc... tools/jam/src/bin.cygwinx86/bjam > > > > Detecting Python version... 2.5 > > > > Detecting Python root... /usr > > > > Unicode/ICU support for Boost.Regex?... not found. > > > > Backing up existing Boost.Build configuration in user-config.jam.4 > > > > Generating Boost.Build configuration in user-config.jam .. . > > > > Generating Makefile... > > > > > > > > $ make > > > > MAKE Version 2.0 Copyright (c) 1987, 1988 Borland International > > > > Error makefile 28: Command syntax error > > > > Available memory 547555 bytes > > > > *** 1 errors in compile *** > > > > > > > > The content of the Makefile is as follow: > > > > > > > > BJAM=./tools/jam/src/bin.cygwinx86/bjam > > > > BJAM_CONFIG= > > > > PREFIX=/usr/local > > > > EPREFIX=/usr/local > > > > LIBDIR=/usr/local/lib > > > > INCLUDEDIR=/usr/local/include > > > > LIBS= > > > > 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: > > > > > > > > > > > > Regards, Suhas Majale_______________________________________________ > > > > Boost-users mailing list > > > > Boost-users@lists.boost.org > > > > http://lists.boost.org/mailman/listinfo.cgi/boost-users > > > > > > Avis : > > > Ce message et toute pièce jointe sont la propriété d'Alcan et sont > > > destinés seulement aux personnes ou à l'entité à qui le message est > > > adressé. Si vous avez reçu ce message par erreur, veuillez le > > > détruire et en aviser l'expéditeur par courriel. Si vous n'êtes pas > > > le destinataire du message, vous n'êtes pas autorisé à utiliser, à > > > copier ou à divulguer le contenu du message ou ses pièces jointes > > > en tout ou en partie. > > > > > > Notice: > > > This message and any attachments are the property of Alcan and are > > > intended solely for the named recipients or entity to whom this > > > message is addressed. If you have received this message in error > > > please inform the sender via e-mail and destroy the message. If you > > > are not the intended recipient you are not allowed to use, copy or > > > disclose the contents or attachments in whole or in part. > > > > > > _______________________________________________ > > > Boost-users mailing list > > > Boost-users@lists.boost.org > > > http://lists.boost.org/mailman/listinfo.cgi/boost-users > > > _______________________________________________ > > > Boost-users mailing list > > > Boost-users@lists.boost.org > > > http://lists.boost.org/mailman/listinfo.cgi/boost-users > > > > _______________________________________________ > > Boost-users mailing list > > Boost-users@lists.boost.org > > http://lists.boost.org/mailman/listinfo.cgi/boost-users > > _______________________________________________ > > Boost-users mailing list > > Boost-users@lists.boost.org > > http://lists.boost.org/mailman/listinfo.cgi/boost-users > > _______________________________________________ > Boost-users mailing list > Boost-users@lists.boost.org > http://lists.boost.org/mailman/listinfo.cgi/boost-users > _______________________________________________ > Boost-users mailing list > Boost-users@lists.boost.org > http://lists.boost.org/mailman/listinfo.cgi/boost-users
participants (2)
-
frederic.bron@alcan.com
-
Suhas Majale