Hi,

I'm trying to build ltsp-4.2 cvs in FC4 with compat-gcc32
Any ideas what I'm doing wrong here? Thanks!

Esko



# ./build_all --fetch

crosscomp-src:

gcc MUST be between 3.2 and 3.4 !!

# gcc -v
Using built-in specs.
Target: i386-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwin d-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,java,f95,ada --enable-java-awt=gtk --wit h-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --host=i386-redhat-linux
Thread model: posix
gcc version 4.0.2 20051125 (Red Hat 4.0.2-8)


OK, I have also gcc32 installed. Let's try to use that.
Don't know what is the best way to do it..
Let's try this:

mv /usr/bin/gcc /usr/bin/gcc40
ln -s /usr/bin/gcc32 /usr/bin/gcc

# gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.3/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --enable-languages=c,c++,f77 --disable-libgcj --host=i386-redhat-linux
Thread model: posix
gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-47.fc4)


Seems like we now have the right version of gcc. Next step:


# ./build_all --fetch

... tarballs are fetched. Fine!

According to this:

http://wiki.ltsp.org/twiki/bin/view/Ltsp/LBE#Fedora_Core_3_and_Other_2_6_Kern

I added
   --with-headers=/usr/include \
to
   lbe-src/glibc/package.def
and
   crosscomp-src/glibc/package.def

Trying the build_all:

# ./build_all

crosscomp-src:
18:09:06 Fetching: binutils-2.13.2.1.tar.bz2 Succeeded 18:09:06 Fetching: gcc-3.2.3.tar.bz2 Succeeded 18:09:07 Fetching: glibc-2.3.2.tar.bz2 Succeeded 18:09:07 Fetching: glibc-linuxthreads-2.3.2.tar.bz2 Succeeded 18:09:07 Fetching: gcc-3.2.3.tar.bz2 Succeeded 18:09:07 Fetching: autoconf-2.57.tar.bz2 Succeeded 18:09:07 Fetching: nasm-0.98.35.tar.bz2 Succeeded

18:09:07 Building: binutils Succeeded 18:09:07 Building: gcc-partial Succeeded
18:09:07  Building: glibc

*** Unable to configure glibc: Laitteelle sopimaton ioctl

You might find more information about the error in:

    lbe/crosscomp-src/glibc/Status/errors


In the lbe/crosscomp-src/glibc/Status/error -file there is:

checking for unistd.h... yes
checking for long double... yes
checking size of long double... configure: error: cannot compute sizeof (long double), 77
See `config.log' for more details.

Don't know what to try next...





-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
     https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net

Reply via email to