Re: solaris compile problem with apt-0.5.15cnc6
Panu Matilainen <[email protected]> Wed, 04 Aug 2004 19:06:43 +0300
| Newsgroups | gmane.linux.conectiva.apt-rpm |
|---|---|
| Message-ID | <[email protected]> |
On Wed, 2004-08-04 at 17:43, Aamer Akhter wrote: > I realize that a solaris compile problem may not be the most exciting > thing to occour on this list, but here it is anyway ;-) > > This is on solaris8. > > g++ -DHAVE_CONFIG_H -I. -I. -I../include -I../lua/include > -I../lua/local -DLIBDIR=\"/var/tmp/apt-0.5.15cnc6/lib\" > -I/var/tmp/cast-rpm/cast/include -I/var/tmp/cast-rpm/cast/include/rpm > -I/users/aakhter/include -I/usr/cisco/include -I/usr/include/rpm -g > -O2 -c rpm/rpmhandler.cc -Wp,-MD,rpm/.deps/rpmhandler.TPlo -o > rpm/rpmhandler.o > In file included from rpm/rpmhandler.cc:25: > ../include/apt-pkg/rpmhandler.h:106: Floating point numbers not > allowed in #if expressions > ../include/apt-pkg/rpmhandler.h:111: Floating point numbers not > allowed in #if expressions > ../include/apt-pkg/rpmhandler.h:142: Floating point numbers not > allowed in #if expressions > > #if RPM_VERSION >= 0x040100 > rpmts Handler; > #else > rpmdb Handler; > #endif > > Does this problem seem famaliar to anybody? No :) But apparently RPM_VERSION turns into something with a dot in it when it shouldn't. What does $ LANG= LC_ALL= rpm --version | sed 's/^RPM version //' output and after running ./configure, what does the following output? $ grep RPM_VERSION include/config.h - Panu -