-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

hi all,

attempting to build lyx-HEAD (svn r13351), on OSX 10.4.5, using an
EXTERNAL build of boost-cvs.

boost cvs builds fine, installing:

        libs --> /usr/local/lib/libboost*
        incs --> /usr/local/include/boost-1_34/

i've 3 issues (so far ...) -- 2 resolved/worked-around, 1 not.  details:


config'ing LyX w/:

   ./configure \
   --prefix=/usr/local/lyx/Lyx.app \
   --disable-debug --enable-optimization=-Os \
   --enable-shared --disable-static \
   --disable-nls \
   --disable-rpath \
   --enable-compression-support \
   --without-x \
   --with-frontend=qt --with-qt-dir=/usr/local/qt3 \
   --with-libintl-prefix=/usr/local \
   --disable-concept-checks \
   --without-aspell \
   --without-pspell \
   --without-included-boost \
   --with-extra-lib=/usr/local/lib \
   --with-extra-inc=/usr/local/include/boost-1_34

i note some problems with using external boost.

(1) adding to configure,

        --without-included-boost \
        --with-extra-lib=/usr/local/lib \
        --with-extra-inc=/usr/local/include/boost-1_34

does NOT seem to be sufficient ... boost includes are not found at all.
 rather, i find i have to add:

        setenv CPPFLAGS "-I /usr/local/include/boost-1_34/"

(2) 'make' at one point complains/fails @

        ../../src/support/debugstream.h:17:44: error:
        boost/test/detail/nullstream.hpp: No such file or directory

which is a result of boost's "nullstram.hpp" being installed in:

        /usr/local/include/boost-1_34/boost/test/utils/nullstream.hpp

NOT

        /usr/local/include/boost-1_34/boost/test/detail/nullstream.hpp

so a:

ln -sf /usr/local/include/boost-1_34/boost/test/utils/nullstream.hpp
/usr/local/include/boost-1_34/boost/test/detail/nullstream.hpp

fixes that

(3) 'make' *now* fails at:

...
Making all in .
if /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H
- -I. -I. -I../../src  -Winvalid-pch --include=./pch.h -I./..
- -I/usr/local/include/boost-1_34  -Wextra -Wall -I
/usr/local/include/boost-1_34/  -fno-exceptions -Os -MT filetools.lo -MD
- -MP -MF ".deps/filetools.Tpo" -c -o filetools.lo filetools.C; \
then mv -f ".deps/filetools.Tpo" ".deps/filetools.Plo"; else rm -f
".deps/filetools.Tpo"; exit 1; fi
 g++ -DHAVE_CONFIG_H -I. -I. -I../../src -Winvalid-pch --include=./pch.h
- -I./.. -I/usr/local/include/boost-1_34 -Wextra -Wall -I
/usr/local/include/boost-1_34/ -fno-exceptions -Os -MT filetools.lo -MD
- -MP -MF .deps/filetools.Tpo -c filetools.C  -fno-common -DPIC -o
.libs/filetools.o
cc1plus: warning: ././pch.h.gch: not used because `PIC' is defined
filetools.C:1168:2: warning: #warning Why is this func deleting a file?
(Lgb)
/usr/local/include/boost-1_34/boost/filesystem/operations.hpp: In
function 'Path boost::filesystem::current_path()':
/usr/local/include/boost-1_34/boost/filesystem/operations.hpp:506:
error: 'unnamed_Path' was not declared in this scope
filetools.C: In function 'const std::string
lyx::support::NormalizePath(const std::string&)':
filetools.C:608: error: 'RegEx' is not a member of 'boost'
filetools.C:608: error: expected `;' before 'regex'
filetools.C:609: error: 'regex' was not declared in this scope
make[5]: *** [filetools.lo] Error 1
make[4]: *** [all-recursive] Error 1
make[3]: *** [all] Error 2
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1


dunno what to do about this one yet ...

suggestions?

cheers,

richard

- --

/"\
\ /  ASCII Ribbon Campaign
 X   against HTML email, vCards
/ \  & micro$oft attachments

[GPG] OpenMacNews at gmail dot com
fingerprint: 50C9 1C46 2F8F DE42 2EDB  D460 95F7 DDBD 3671 08C6
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (Darwin)

iEYEAREDAAYFAkQUyG0ACgkQlffdvTZxCMbQOwCfebA8Rb7PncYbtZArBPVS0TDd
xr8AoMaANKjd5N1fFYXo3dQzP4TmAvv+
=9VSo
-----END PGP SIGNATURE-----

Reply via email to