LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-21-2011, 03:02 PM   #16
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641

Building an rpm package :
1) Setup the unprivileged rpm build account in /home/<name>/ :
#13 http://www.linuxquestions.org/questi...1-a-766486/#13

2) $ rpmbuild -bb gcc-c++.spec
Please read the spec file to know the included files :
I have no doc, man, info directories. (To reduce the package size a little.)
The package "gcc-c++-4.5.3.1el6-1.x86_64.rpm" is 41.9 MB.
EDIT : Seems I forgot to strip some binaries in
/usr/local/gcc453/libexec/gcc/x86_64-unknown-linux-gnu/4.5.3/ : Size can be reduced.
EDIT EDIT : New package size = 18.1 MB.
.
Attached Files
File Type: txt gcc-c++.spec.txt (65.2 KB, 14 views)

Last edited by knudfl; 08-21-2011 at 03:15 PM.
 
1 members found this post helpful.
Old 08-21-2011, 04:17 PM   #17
pix9
Member
 
Registered: Jan 2010
Location: Mumbai, India
Distribution: ArchLinux, Fedora 24, Centos 7.0
Posts: 177

Original Poster
Rep: Reputation: 19
Thank you verry much
 
Old 08-27-2011, 10:25 AM   #18
pix9
Member
 
Registered: Jan 2010
Location: Mumbai, India
Distribution: ArchLinux, Fedora 24, Centos 7.0
Posts: 177

Original Poster
Rep: Reputation: 19
a while after compiling gcc I have reached at the same point the new gcc compiled previously is not much useful. it does compile programs with faults, no errors are thrown tho they don't work :/
starting over again from scratch.

Thank you
Pushkar
 
Old 08-30-2011, 03:12 PM   #19
pix9
Member
 
Registered: Jan 2010
Location: Mumbai, India
Distribution: ArchLinux, Fedora 24, Centos 7.0
Posts: 177

Original Poster
Rep: Reputation: 19
Finally found a good enough base and stuff so that I can ask some thing here again.
these are the steps I am using to build
I have found a the appropreate versions of gmp mpfr mpc ppl and cloog-ppl which are finally allowing me to get error free output when I run configure command
$ cd /tmp
$ tar xv ~/sourc/gcc-4.5.3.tar.gz
$ mkdir /tmp/gcc-build
$ cd /tmp/gcc-build
$ ../gcc-4.5.3/configure --prefix=/usr/local/newgcc453 --enable-shared --disable-bootstrap --with-system-zlib --enable-languages=c,c++ --disable-multilib --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --with-mpfr=/usr/local/mpfr242/ --with-mpc=/usr/local/mpc082/ --with-gmp-lib=/home/student/gmp-4.3.2-3/usr/lib64 --with-gmp-include=/home/student/gmp-4.3.2-3/usr/include --with-cloog-lib=/home/student/cloog-ppl-0.15.9-3/usr/lib64/ --with-cloog-include=/home/student/cloog-ppl-0.15.9-3/usr/include/ --with-libelf-include=/usr/local/libelf0812/include/ --with-libelf-lib=/usr/local/libelf0812/lib/
$ make

here after doing some stuff make stops at some point of time
here are the logs

make[2]: Leaving directory `/tmp/gcc-build/gcc'
Checking multilib configuration for libgcc...
mkdir -p -- x86_64-unknown-linux-gnu/libgcc
Configuring in x86_64-unknown-linux-gnu/libgcc
configure: creating cache ./config.cache
checking for --enable-version-specific-runtime-libs... no
checking for a BSD-compatible install... /usr/bin/install -c
checking for gawk... gawk
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for x86_64-unknown-linux-gnu-ar... ar
checking for x86_64-unknown-linux-gnu-lipo... lipo
checking for x86_64-unknown-linux-gnu-nm... /tmp/gcc-build/./gcc/nm
checking for x86_64-unknown-linux-gnu-ranlib... ranlib
checking for x86_64-unknown-linux-gnu-strip... strip
checking whether ln -s works... yes
checking for x86_64-unknown-linux-gnu-gcc... /tmp/gcc-build/./gcc/xgcc -B/tmp/gcc-build/./gcc/ -B/usr/local/newgcc453/x86_64-unknown-linux-gnu/bin/ -B/usr/local/newgcc453/x86_64-unknown-linux-gnu/lib/ -isystem /usr/local/newgcc453/x86_64-unknown-linux-gnu/include -isystem /usr/local/newgcc453/x86_64-unknown-linux-gnu/sys-include
checking for suffix of object files... configure: error: in `/tmp/gcc-build/x86_64-unknown-linux-gnu/libgcc':
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
make[1]: *** [configure-target-libgcc] Error 1
make[1]: Leaving directory `/tmp/gcc-build'
make: *** [all] Error 2

then to check the error
I run following command which is saying some thing, which I am confused with.

$ grep error x86_64-unknown-linux-gnu/libgcc/config.log
/tmp/gcc-build/./gcc/cc1: error while loading shared libraries: libmpc.so.2: cannot open shared object file: No such file or directory
/tmp/gcc-build/./gcc/cc1: error while loading shared libraries: libmpc.so.2: cannot open shared object file: No such file or directory
configure:3251: error: in `/tmp/gcc-build/x86_64-unknown-linux-gnu/libgcc':
configure:3254: error: cannot compute suffix of object files: cannot compile



$ sudo find / -name libmpc.so.2
/tmp/mpc-0.8.2/src/.libs/libmpc.so.2
/usr/local/mpc082/lib/libmpc.so.2

I don't understand why exactly is my make process failing, I have tried many ways to compile gcc without getting errors, once I had got success in compiling it but, that build was buggy. it was not able to compile properly, all the compilations made using it failed. tho it was not throwing any error while building.

Thank you
Pushkar
 
Old 08-30-2011, 04:23 PM   #20
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
See post # 11: The only option for editing is the "--prefix".

And post # 9. The correct configure line is exactly this text :
../gcc-4.5.3/configure --prefix=/usr/local/gcc453 --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-languages=c,c++ --disable-multilib --with-system-zlib --with-gmp-include=$(pwd)/gmp --with-gmp-lib=$(pwd)/gmp/.libs


Your post # 19 : "--disable-bootstrap" is wrong. Don't do that.
Read LFS §5.5, §5.10, §6.16: Pass 1, Pass 2, "Pass 3 /install".
They build for a new OS. As a crosscompiler.
You are building for the same OS :
bootstrap is not to be omitted by a one step build.

--with-gmp-lib=/home/student/gmp-4.3.2-3/usr/lib64 : GMP libs are in "gcc-build/".
--with-gmp-include=/home/student/gmp-4.3.2-3/usr/include: GMP includes: "gcc-build/".
Your "pwd" when you build is gcc-build/ . Hence the two times '=$(pwd)'.

Your other added options: Not required. If you are lucky, they may be harmless.

GCC-4.5.3 : I tested gcc/g++ with a 200MB application (ns-allinone-2.35-RC8): OK.

The package gcc-c++-4.5.3.1el6-1.x86_64.rpm can be downloaded here
https://docs.google.com/uc?id=0B7S25...nload&hl=en_US

..

Last edited by knudfl; 08-30-2011 at 04:26 PM.
 
Old 08-31-2011, 05:46 AM   #21
pix9
Member
 
Registered: Jan 2010
Location: Mumbai, India
Distribution: ArchLinux, Fedora 24, Centos 7.0
Posts: 177

Original Poster
Rep: Reputation: 19
@ knudfl I have tried to compile gcc many times as you have mentioned, but It has always filed so far, worked once but those set of binaries was tottaly usless, nothign was properly compiled by those libraries. I will try to find out the source rpm gmp mpfr and mpc. and will try using those sources this time, Hope those help me this this time. Will try out tonight.

@knudfl I don't like to blindly use any options, as far was what I understand after reading documentation is boot strapping is needed for building gcc on cross-compile platform (from 32 bit to 64 bit)etc.(please correct me if I am wrong.) I'm not going to use this gcc for compiling programs outside my system.

Thank you
Pushkar

Last edited by pix9; 09-01-2011 at 07:42 AM. Reason: update
 
Old 09-01-2011, 10:43 AM   #22
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
From the 'RHEL 6' gcc-4.4.4 configure line :

--enable-bootstrap

http://ftp.scientificlinux.org/linux...13.el6.src.rpm
> Source code SRC RPM package gcc-4.4.4-13.el6.src.rpm.

Fedora 15 http://download.fedora.redhat.com/pu...6.fc15.src.rpm
> gcc-4.6.0-6.fc15.src.rpm : gcc.spec, line 756 : --enable-bootstrap

..

Last edited by knudfl; 09-01-2011 at 10:53 AM.
 
Old 09-01-2011, 03:28 PM   #23
pix9
Member
 
Registered: Jan 2010
Location: Mumbai, India
Distribution: ArchLinux, Fedora 24, Centos 7.0
Posts: 177

Original Poster
Rep: Reputation: 19
thank you for the reference

Last edited by pix9; 09-01-2011 at 03:36 PM.
 
Old 09-02-2011, 02:53 AM   #24
pix9
Member
 
Registered: Jan 2010
Location: Mumbai, India
Distribution: ArchLinux, Fedora 24, Centos 7.0
Posts: 177

Original Poster
Rep: Reputation: 19
this is output of my way of configuring gcc.
$ CONFIG45='../gcc-4.5.3/configure --prefix=/usr/local/newgcc453 --enable-shared --disable-bootstrap --with-system-zlib --enable-languages=c,c++ --disable-multilib --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --with-mpfr=/usr/local/mpfr242/ --with-mpc=/usr/local/mpc082/ --with-gmp-lib=/home/student/gmp-4.3.2-3/usr/lib64 --with-gmp-include=/home/student/gmp-4.3.2-3/usr/include --with-cloog-lib=/home/student/cloog-ppl-0.15.9-3/usr/lib64/ --with-cloog-include=/home/student/cloog-ppl-0.15.9-3/usr/include/ --with-libelf-include=/usr/local/libelf0812/include/ --with-libelf-lib=/usr/local/libelf0812/lib/'





$ $CONFIG45
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for a sed that does not truncate output... /bin/sed
checking for gawk... gawk
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for gnatbind... no
checking for gnatmake... no
checking whether compiler driver understands Ada... no
checking how to compare bootstrapped objects... cmp --ignore-initial=16 $$f1 $$f2
checking for objdir... .libs
checking for the correct version of gmp.h... yes
checking for the correct version of mpfr.h... yes
checking for the correct version of mpc.h... yes
checking for the correct version of the gmp/mpfr/mpc libraries... yes
checking for version 0.10 (or later revision) of PPL... yes
checking for version 0.15.5 (or later revision) of CLooG... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking libelf.h usability... yes
checking libelf.h presence... yes
checking for libelf.h... yes
checking gelf.h usability... yes
checking gelf.h presence... yes
checking for gelf.h... yes
checking libelf/libelf.h usability... yes
checking libelf/libelf.h presence... yes
checking for libelf/libelf.h... yes
checking libelf/gelf.h usability... yes
checking libelf/gelf.h presence... yes
checking for libelf/gelf.h... yes
checking for the correct version of libelf... yes
checking for elf_getshdrstrndx... yes
*** This configuration is not supported in the following subdirectories:
zlib target-libada gnattools target-libgfortran target-libffi target-zlib target-libjava target-libobjc target-boehm-gc
(Any other directories should still work fine.)
checking for default BUILD_CONFIG...
checking for bison... bison -y
checking for bison... bison
checking for gm4... no
checking for gnum4... no
checking for m4... m4
checking for flex... flex
checking for flex... flex
checking for makeinfo... no
checking for expect... no
checking for runtest... no
checking for ar... ar
checking for as... as
checking for dlltool... no
checking for ld... ld
checking for lipo... no
checking for nm... nm
checking for ranlib... ranlib
checking for strip... strip
checking for windres... no
checking for windmc... no
checking for objcopy... objcopy
checking for objdump... objdump
checking for cc... cc
checking for c++... c++
checking for gcc... gcc
checking for gcj... no
checking for gfortran... gfortran
checking for ar... no
checking for ar... ar
checking for as... no
checking for as... as
checking for dlltool... no
checking for dlltool... no
checking for ld... no
checking for ld... ld
checking for lipo... no
checking for lipo... no
checking for nm... no
checking for nm... nm
checking for objdump... no
checking for objdump... objdump
checking for ranlib... no
checking for ranlib... ranlib
checking for strip... no
checking for strip... strip
checking for windres... no
checking for windres... no
checking for windmc... no
checking for windmc... no
checking where to find the target ar... host tool
checking where to find the target as... host tool
checking where to find the target cc... just compiled
checking where to find the target c++... just compiled
checking where to find the target c++ for libstdc++... just compiled
checking where to find the target dlltool... host tool
checking where to find the target gcc... just compiled
checking where to find the target gcj... host tool
checking where to find the target gfortran... host tool
checking where to find the target ld... host tool
checking where to find the target lipo... host tool
checking where to find the target nm... host tool
checking where to find the target objdump... host tool
checking where to find the target ranlib... host tool
checking where to find the target strip... host tool
checking where to find the target windres... host tool
checking where to find the target windmc... host tool
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether -fkeep-inline-functions is supported... yes
configure: creating ./config.status
config.status: creating Makefile


This is output from way recomended for configuring gcc.

$ rpm -qa |grep cloog
cloog-ppl-0.15.7-1.2.el6.x86_64
cloog-ppl-devel-0.15.7-1.2.el6.x86_64

OLDCONFIG='../gcc-4.5.3/configure --prefix=/usr/local/newgcc453 --enable-shared --enable-bootstrap --with-system-zlib --enable-languages=c,c++ --disable-multilib --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --with-gmp-include=$(pwd)/gmp --with-gmp-lib=$(pwd)/gmp/.libs'



$ $OLDCONFIG
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for a sed that does not truncate output... /bin/sed
checking for gawk... gawk
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for gnatbind... no
checking for gnatmake... no
checking whether compiler driver understands Ada... no
checking how to compare bootstrapped objects... cmp --ignore-initial=16 $$f1 $$f2
checking for objdir... .libs
checking for version 0.10 (or later revision) of PPL... yes
checking for version 0.15.5 (or later revision) of CLooG... buggy but acceptable
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking libelf.h usability... yes
checking libelf.h presence... yes
checking for libelf.h... yes
checking gelf.h usability... yes
checking gelf.h presence... yes
checking for gelf.h... yes
checking libelf/libelf.h usability... no
checking libelf/libelf.h presence... no
checking for libelf/libelf.h... no
checking libelf/gelf.h usability... no
checking libelf/gelf.h presence... no
checking for libelf/gelf.h... no

checking for the correct version of libelf... yes
checking for elf_getshdrstrndx... yes
*** This configuration is not supported in the following subdirectories:
zlib target-libada gnattools target-libgfortran target-libffi target-zlib target-libjava target-libobjc target-boehm-gc
(Any other directories should still work fine.)
checking for default BUILD_CONFIG... bootstrap-debug
checking for bison... bison -y
checking for bison... bison
checking for gm4... no
checking for gnum4... no
checking for m4... m4
checking for flex... flex
checking for flex... flex
checking for makeinfo... no
checking for expect... no
checking for runtest... no
checking for ar... ar
checking for as... as
checking for dlltool... no
checking for ld... ld
checking for lipo... no
checking for nm... nm
checking for ranlib... ranlib
checking for strip... strip
checking for windres... no
checking for windmc... no
checking for objcopy... objcopy
checking for objdump... objdump
checking for cc... cc
checking for c++... c++
checking for gcc... gcc
checking for gcj... no
checking for gfortran... gfortran
checking for ar... no
checking for ar... ar
checking for as... no
checking for as... as
checking for dlltool... no
checking for dlltool... no
checking for ld... no
checking for ld... ld
checking for lipo... no
checking for lipo... no
checking for nm... no
checking for nm... nm
checking for objdump... no
checking for objdump... objdump
checking for ranlib... no
checking for ranlib... ranlib
checking for strip... no
checking for strip... strip
checking for windres... no
checking for windres... no
checking for windmc... no
checking for windmc... no
checking where to find the target ar... host tool
checking where to find the target as... host tool
checking where to find the target cc... just compiled
checking where to find the target c++... just compiled
checking where to find the target c++ for libstdc++... just compiled
checking where to find the target dlltool... host tool
checking where to find the target gcc... just compiled
checking where to find the target gcj... host tool
checking where to find the target gfortran... host tool
checking where to find the target ld... host tool
checking where to find the target lipo... host tool
checking where to find the target nm... host tool
checking where to find the target objdump... host tool
checking where to find the target ranlib... host tool
checking where to find the target strip... host tool
checking where to find the target windres... host tool
checking where to find the target windmc... host tool
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether -fkeep-inline-functions is supported... yes
configure: creating ./config.status
config.status: creating Makefile


make fails in both the cases.

I really don't know what to do, I have started thinking if gcc is buggy on my end, or there is some patch for compiling it on rhel6 machine. Not going to quit yet.

Thank you
Pushkar

Last edited by pix9; 09-02-2011 at 03:18 AM.
 
Old 09-02-2011, 05:10 AM   #25
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Well, your configure line is still all wrong.

This is it, nothing else :
../gcc-4.5.3/configure --prefix=/usr/local/gcc453 --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-languages=c,c++ --disable-multilib --with-system-zlib --with-gmp-include=$(pwd)/gmp --with-gmp-lib=$(pwd)/gmp/.libs


If you don't want to do it right, just download my EL6 result, and try out how it works
https://docs.google.com/uc?id=0B7S25...nload&hl=en_US

..
 
Old 09-02-2011, 05:22 AM   #26
pix9
Member
 
Registered: Jan 2010
Location: Mumbai, India
Distribution: ArchLinux, Fedora 24, Centos 7.0
Posts: 177

Original Poster
Rep: Reputation: 19
hmm there was extra boot-strap option in my line, ok trying without one this time. hope it works this time.
One more thing, is there any utility to log the activities done on terminal? I mean other than history. I will upload those logs this time. so that can help you to point-out any other mistake that I might be repeating in procedure.

Thank you
Pushkar

Ok I have tried build the same way as recommended have mentioned all the initial steps in build1.txt file and make logs in make-gcc-4.5.3.log.tar.bz2.txt(rename it to make-gcc-4.5.3.log.tar.bz2) and uncompress to get actual file which is around 3 mb, and please let me know what went wrong with this build.

Thank you Once again.
Pushkar
Attached Files
File Type: txt build1.txt (6.6 KB, 20 views)
File Type: txt make-gcc-4.5.3.log.tar.bz2.txt (96.3 KB, 10 views)

Last edited by pix9; 09-02-2011 at 06:08 AM.
 
Old 09-02-2011, 06:17 AM   #27
pix9
Member
 
Registered: Jan 2010
Location: Mumbai, India
Distribution: ArchLinux, Fedora 24, Centos 7.0
Posts: 177

Original Poster
Rep: Reputation: 19
updated above post ^^
 
Old 09-03-2011, 03:01 AM   #28
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Please do another check with the build prerequisites.
This is from the file gcc.spec for Fedora 14, gcc-4.5.x :
BuildRequires: binutils >= 2.20.51.0.2-12
BuildRequires: glibc-static
BuildRequires: zlib-devel, gettext, dejagnu, bison, flex, texinfo, sharutils
BuildRequires: gdb
BuildRequires: zip, unzip
BuildRequires: glibc-devel >= 2.4.90-13
BuildRequires: elfutils-devel >= 0.147
BuildRequires: elfutils-libelf-devel >= 0.147
BuildRequires: glibc >= 2.3.90-35
BuildRequires: /lib/libc.so.6 /usr/lib/libc.so /lib64/libc.so.6 /usr/lib64/libc.so
BuildRequires: libunwind >= 0.98
BuildRequires: ppl >= 0.10, ppl-devel >= 0.10, cloog-ppl >= 0.15, cloog-ppl-devel >= 0.15
BuildRequires: doxygen
BuildRequires: graphviz
BuildRequires: gmp-devel >= 4.1.2-8, mpfr-devel >= 2.2.1, libmpc-devel >= 0.8.1
BuildRequires: gtk2-devel >= 2.4.0
BuildRequires: glib2-devel >= 2.4.0
BuildRequires: libart_lgpl-devel >= 2.1.0
BuildRequires: alsa-lib-devel
BuildRequires: libXtst-devel
BuildRequires: libXt-devel

(As you can see, some of the versions can actually be an earlier one than the system version.)
.
 
Old 09-03-2011, 08:37 AM   #29
pix9
Member
 
Registered: Jan 2010
Location: Mumbai, India
Distribution: ArchLinux, Fedora 24, Centos 7.0
Posts: 177

Original Poster
Rep: Reputation: 19
ahh!! This seems some thing interesting Thanks for suggestion will check them today

Thank you
Pushkar
 
Old 09-03-2011, 03:26 PM   #30
pix9
Member
 
Registered: Jan 2010
Location: Mumbai, India
Distribution: ArchLinux, Fedora 24, Centos 7.0
Posts: 177

Original Poster
Rep: Reputation: 19
$ cat requires
binutils >= 2.20.51.0.2-12
glibc-static
zlib-devel
gettext
dejagnu
bison
flex
texinfo
sharutils
gdb
zip
unzip
glibc-devel >= 2.4.90-13
elfutils-devel >= 0.147
elfutils-libelf-devel >= 0.147
glibc >= 2.3.90-35
/lib/libc.so.6
/usr/lib/libc.so
/lib64/libc.so.6
/usr/lib64/libc.so
libunwind >= 0.98
ppl >= 0.10
ppl-devel >= 0.10
cloog-ppl >= 0.15
cloog-ppl-devel >= 0.15
doxygen
graphviz
gmp-devel >= 4.1.2-8
mpfr-devel >= 2.2.1
libmpc-devel >= 0.8.1
gtk2-devel >= 2.4.0
glib2-devel >= 2.4.0
libart_lgpl-devel >= 2.1.0
alsa-lib-devel
libXtst-devel
libXt-devel


$ for x in $(cat requires |awk -F' ' '{ print $1 }'); do rpm -qa |grep $x; done
binutils-2.20.51.0.2-5.11.el6.x86_64
zlib-devel-1.2.3-25.el6.x86_64
gettext-devel-0.17-16.el6.x86_64
gettext-libs-0.17-16.el6.x86_64
gettext-0.17-16.el6.x86_64
bison-2.4.1-5.el6.x86_64
flex-2.5.35-8.el6.x86_64
eggdbus-0.6-3.el6.x86_64
gdb-7.1-29.el6.x86_64
gdbm-1.8.0-36.el6.x86_64
bzip2-1.0.5-6.1.el6.x86_64
gzip-1.3.12-18.el6.x86_64
bzip2-libs-1.0.5-6.1.el6.x86_64
zip-3.0-1.el6.x86_64
unzip-6.0-1.el6.x86_64
unzip-6.0-1.el6.x86_64
glibc-devel-2.12-1.7.el6.x86_64
elfutils-devel-0.152-1.el6.x86_64
elfutils-libelf-devel-0.152-1.el6.x86_64
glibc-2.12-1.7.el6.x86_64
glibc-headers-2.12-1.7.el6.x86_64
compat-glibc-headers-2.5-46.2.x86_64
glibc-2.12-1.7.el6.i686
glibc-common-2.12-1.7.el6.x86_64
glibc-devel-2.12-1.7.el6.x86_64
compat-glibc-2.5-46.2.x86_64
cloog-ppl-0.15.7-1.2.el6.x86_64
poppler-utils-0.12.4-3.el6.x86_64
ppl-0.10.2-11.el6.x86_64
gdm-user-switch-applet-2.30.4-21.el6.x86_64
poppler-0.12.4-3.el6.x86_64
poppler-glib-0.12.4-3.el6.x86_64
wpa_supplicant-0.6.8-10.el6.x86_64
libpanelappletmm-2.26.0-3.el6.x86_64
cloog-ppl-devel-0.15.7-1.2.el6.x86_64
poppler-data-0.4.0-1.el6.noarch
ppl-devel-0.10.2-11.el6.x86_64
gnome-python2-applet-2.28.0-4.el6.x86_64
gnome-applets-2.28.0-7.el6.x86_64
cloog-ppl-devel-0.15.7-1.2.el6.x86_64
ppl-devel-0.10.2-11.el6.x86_64
cloog-ppl-0.15.7-1.2.el6.x86_64
cloog-ppl-devel-0.15.7-1.2.el6.x86_64
cloog-ppl-devel-0.15.7-1.2.el6.x86_64
doxygen-1.6.1-4.el6.x86_64
gmp-devel-4.3.1-7.el6.x86_64
gmp-devel-4.3.1-7.el6.i686
mpfr-devel-2.4.1-6.el6.x86_64

so these are missing i guess
glibc-static
dejagnu
texinfo
sharutils
libunwind
graphviz
libmpc-devel >= 0.8.1
gtk2-devel >= 2.4.0
glib2-devel >= 2.4.0
libart_lgpl-devel >= 2.1.0
alsa-lib-devel
libXtst-devel
libXt-devel

hmm I will try rebuilding installing these packages if available
and for these 4 files have to locate where they come from :-?
/lib/libc.so.6
/usr/lib/libc.so
/lib64/libc.so.6
/usr/lib64/libc.so
will try to post next log sooner, hope It will be sucess story in next time

Thank you
Pushkar
 
  


Reply

Tags
gcc453



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
RHEL x86_64 yum, Error: certificate verify failed forrie Linux - Server 6 12-02-2010 12:40 AM
cross compiling for x86 x86_64, for RHEL, Ubuntu, SLES deadeyes Linux - General 11 04-21-2010 06:50 AM
ipm timed out error on Red Hat 2.6.9-67.0.22.ELsmp #1 SMP x86_64 x86_64 x86_64 GNU/L bellnarm Linux - Newbie 0 07-07-2009 04:36 PM
LXer: Xen 3.2 on CentOS 5.2 x86_64 / RHEL 5.2 x86_64 LXer Syndicated Linux News 0 07-12-2008 05:51 PM
Error compiling from source with x86_64 NobleSilkFairy Mandriva 5 01-03-2008 10:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration