Re: [sigc] Build fails with g++ 3.3.2



Hi!

At the moment, I don't remember why we use 'DEFAULT_INCLUDES =' in the build system. Maybe because we have a header file named "signal.h".
If this is causing these troubles, it's time for a bug report ...

Regards,

 Martin


Am 12.12.2004 20:04:01 schrieb(en) Nomak:
I've deleted all my gcc version except the standard one from my
mandrake. I've downloaded the last one (3.4.3), built it in
/tmp/gcc/gcc-3.4.3-build and installed it. I tried again to compile
libsig++ without success.

Here is the root of the evil:

/tmp/gtk/libsigc++-2.0.6-build $ grep -rn '/tmp/gcc' .
./sigc++/.libs/libsigc-2.0.lai:17:dependency_libs='
-L/home/david/install/lib /home/david/install/lib/libstdc++.la
-L/tmp/gcc/gcc-3.4.3-build/i686-pc-linux-gnu/libstdc++-v3/src
-L/tmp/gcc/gcc-3.4.3-build/i686-pc-linux-gnu/libstdc++-v3/src/.libs
-L/tmp/gcc/gcc-3.4.3-build/gcc'

./sigc++/.libs/libsigc-2.0.la:17:dependency_libs='
-L/home/david/install/lib /home/david/install/lib/libstdc++.la
-L/tmp/gcc/gcc-3.4.3-build/i686-pc-linux-gnu/libstdc++-v3/src
-L/tmp/gcc/gcc-3.4.3-build/i686-pc-linux-gnu/libstdc++-v3/src/.libs
-L/tmp/gcc/gcc-3.4.3-build/gcc'

./sigc++/libsigc-2.0.la:17:dependency_libs='
-L/home/david/install/lib
/home/david/install/lib/libstdc++.la
-L/tmp/gcc/gcc-3.4.3-build/i686-pc-linux-gnu/libstdc++-v3/src
-L/tmp/gcc/gcc-3.4.3-build/i686-pc-linux-gnu/libstdc++-v3/src/.libs
-L/tmp/gcc/gcc-3.4.3-build/gcc'


Somehow, these path got into dependencies... don't know why...

The configure line is:

$ ../libsigc++-2.0.6/configure --prefix=/home/david/install CXX=g++ \
  CPPFLAGS=-I/home/david/install/include \
  LDFLAGS=-L/home/david/install/lib

and i have:

LD_LIBRARY_PATH=/home/david/install/lib
LD_RUN_PATH=/home/david/install/lib

I think that the build system detect dependencies like that:
* libsig++ needs libgcc_s.so -> /home/david/install/lib (WRONG)
instead of /usr/lib/

I still think the mistake comes from your build system, since it's
the
first
time this happens. Maybe a misuse of libtool...

In libsigc++-2.0.6/sigc++/Makefile.am, there is:
DEFAULT_INCLUDES =

It may come from here...

Nomak

Martin Schulze wrote:
> By the way, are you sure that this is not exaclty what you are
trying?
> Looking again at your build log, the g++ option
>
> -L/var/samba_public/gcc/gcc-3.4.2-build/i686-pc-linux-gnu/libstdc +
+
>
> looks very suspicious to me ...

_______________________________________________
libsigc-list mailing list
libsigc-list gnome org
http://mail.gnome.org/mailman/listinfo/libsigc-list






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]