Thanks David,
I'll stick to the --with-pthread option.
Rgds,
Michel
David Sugar wrote:
"lthread"
and the "--with-linuxthreads" option was used exclusivily with the port
of the "Linux threading library" that was commonly found on older
releases of xBSD (FreeBSD in particular). It has no relevance to
GNU/Linux systems whatsoever, and in any case should be depreciated now
that more recent xBSD kernels have fully native smp and thread support.
Michel Stam wrote:
Hello,
I was compiling a package of Common C++ 1.3.12 when I noticed that a
chmod fails during make install. Reason was the absence of a $(DESTDIR)
in src/Makefile.am.
I've attached the patch if anyone's interested. the 'reconfig' script
should be executed after applying.
Secondly,
I noticed that the configure script assumes that 'lthread' is the
library used for LinuxThreads (--with-linuxthreads). On several Linux
distributions I checked, the 'pthread' library is used for LinuxThreads
instead.
A README file I found in the glibc Slackware 10.1 package (probably
copied from the glibc source tree) in
/usr/doc/glibc-2.3.4/linuxthreads/, states:
/USING LINUXTHREADS:
gcc -D_REENTRANT ... -lpthread
/
Is this the same on all Linux distributions? It appears to be the case
for RedHat 7.2 (glibc 2.2.4), Slackware 7.1.0 (glibc 2.1.3), Slackware
8.0.0 (glibc 2.2.3) and Slackware 10.1 (glibc 2.3.4).
In any case building --with-linuxthreads causes the build to fail
because liblthread cannot be found.
Using --with-pthread=pthread at configure time instead of
--with-linuxthreads fixes that problem, btw.
Cheers,
Michel Stam
------------------------------------------------------------------------
*** src/Makefile.am 2005-06-30 14:24:03.000000000 +0200
--- src/Makefile.am 2005-06-30 14:24:10.000000000 +0200
***************
*** 71,76 ****
-rpath $(libdir) ccext2.lo $(LDFLAGS) -lpthread
touch macosx
install-data-hook:
! chmod +x ${scriptdir}/ccgnu2-config
--- 71,76 ----
-rpath $(libdir) ccext2.lo $(LDFLAGS) -lpthread
touch macosx
install-data-hook:
! chmod +x $(DESTDIR)${scriptdir}/ccgnu2-config
------------------------------------------------------------------------
_______________________________________________
Bayonne-devel mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/bayonne-devel
--
Michel Stam ing.
Software Development Engineer
address@hidden
Houtweg 29
1251 CS Laren
The Netherlands
t: |
+31 (0)35 548 98 58 |
f: |
+31 (0)35 531 65 61 |
www.tlogics.nl
|
|
|
|