solaris compile problem with apt-0.5.15cnc6

Aamer Akhter <[email protected]> Wed, 4 Aug 2004 10:43:21 -0400
Newsgroups gmane.linux.conectiva.apt-rpm
Message-ID <[email protected]>
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?

-- 
Aamer Akhter / [email protected]