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 : : : <cflags>-DBOOST_POSIX_API <cflags>-DBOOST_POSIX_PATH  <cxxflags>-DBOOST_POSIX_API <cxxflags>-DBOOST_POSIX_PATH compilerflags>-DBOOST_POSIX_API
<compilerflags>-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