I found that make package will not work unless you are using Sun's make. Try using /usr/ccs/bin/make package and see if that works.
Dan Joseph S. Dietz writes: > Folks, > > The patch Dan provided does allow v 4.1.2 to compile correctly. I did get one error > on the package install...see below. There is no pkgmap file in the directory. > There is a pkginfo file? > > Joe > > > pkgadd -d ./ > > The following packages are available: > 1 i386-5.9 IP Filter > (i386(32-bit)) 4.1.2 > > Select package(s) you wish to process (or 'all' to process > all packages). (default: all) [?,??,q]: 1 > > Processing package instance <i386-5.9> from > </usr/local/src/ipfilter/ip_fil4.1.2/SunOS5> > pkgadd: ERROR: unable to access pkgmap file > </usr/local/src/ipfilter/ip_fil4.1.2/SunOS5/i386-5.9/pkgmap> > > No changes were made to the system. > > The following packages are available: > 1 i386-5.9 IP Filter > (i386(32-bit)) 4.1.2 > > Select package(s) you wish to process (or 'all' to process > all packages). (default: all) [?,??,q]: q > < /usr/local/src/ipfilter/ip_fil4.1.2/SunOS5 > > > > Dan D Niles wrote: > > > Apply the patch I sent out and it will work fine. > > > > Dan > > > > Aly Dharshi writes: > > > Hi There, > > > > > > I seem to run into the following problem with compiling 4.1.2 : > > > > > > gcc -I. -g -I../.. -D_BSD_SOURCE -DSOLARIS2=9 -DIPFILTER_LOG -DIPFILTER_LOOKUP > > > -DIPFILTER_SCAN -DIPFILTER_SYNC -DIPFILTER_CKSUM -c ../../ip_auth.c -o > > > sparcv7/ip_auth_u.o > > > gcc -I. -g -I../.. -D_BSD_SOURCE -DSOLARIS2=9 -DIPFILTER_LOG -DIPFILTER_LOOKUP > > > -DIPFILTER_SCAN -DIPFILTER_SYNC -DIPFILTER_CKSUM -c ../../ip_log.c -o > > > sparcv7/ip_log_u.o > > > make: Fatal error: Don't know how to make target `../../ip_rules.c' > > > Current working directory /home/dharshi/downloads/ip_fil4.1.2/SunOS5/sparc-5.9 > > > *** Error code 1 > > > make: Fatal error: Command failed for target `sunos5' > > > Current working directory /home/dharshi/downloads/ip_fil4.1.2 > > > *** Error code 1 > > > make: Fatal error: Command failed for target `solaris' > > > > > > > > > Am I missing something ? > > > > > > Cheers, > > > > > > Aly. > > > > > > -- > > > Aly Dharshi > > > Systems Consultant > > > Content Applications Group > > > TELUS Technology & Operations > > > ITI Alberta Region > > > > > > "A good speech is like a good dress > > > that's short enough to be interesting > > > and long enough to cover the subject" >
