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

Compiling apt 0.1.9 in Hamm



Hello,

I am trying to compile apt 0.1.9 in Hamm. The corresponding debian
package depends on libstdc++2.9, while on my system, libstdc++2.8 is
present (which is why I want to compile). I understand that libstdc++2.9
is the std library on Slink.

Anyway, while compiling, I get the following error:

Making all in contrib
make[2]: Entering directory `/var/tmp/apt-0.1.9/contrib'
c++ -bi486-linux -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I.. -I.. \
 -I. -I. -I../include -I../include -I../intl -I../intl  -g -O2 -c pointer.cc
../include/pkglib/dpointer.h: In method `void DPointer::malloc(unsigned int)':
In file included from pointer.cc:24:
../include/pkglib/dpointer.h:52: Internal compiler error.
../include/pkglib/dpointer.h:52: Please submit a full bug report to \
`egcs-bugs@cygnus.com'.
make[2]: *** [pointer.o] Error 1
make[2]: Leaving directory `/var/tmp/apt-0.1.9/contrib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/apt-0.1.9'
make: *** [all-recursive-am] Error 2
cyano#

I am using gcc 2.7.2.3 and g++ 2.90.29-0.6. The latter is from the egcs
suite. Should I:
1. Change to libstdc++2.9 (Do not know what packages if any will break)?
   Although the error is in program compilation and not linking.
2. Install egcc and g++ from slink and then try compiling apt? As far
   as I can tell, all dependencies are satisfied in my current Hamm
   setup.
I will of course file a bug report, if this is a valid bug. Could
somebody tell me if this is one? Any RTFM pointers are also appreciated.

One last question. It appears that egcc and gcc do not conflict. How
does one decide which one to use for compiling programs? Any pros/cons
of using one over the other?

Thanks,

Ashok
agopalak@ee.tamu.edu



Reply to: