This is a discussion on Re: SUMMARY: Solaris 9 x86 build errors - resolved within the IPFilter forums, part of the System Security and Security Related category; In some email I received from Fletcher Cocquyt, sie wrote: > Some focused googling revealed a couple recent relevant threads: &...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
In some email I received from Fletcher Cocquyt, sie wrote:
> Some focused googling revealed a couple recent relevant threads: > > http://forum.sun.com/thread.jsp?forum=11 > <http://forum.sun.com/thread.jsp?forum=11&thread=20228> &thread=20228 > > The latest patches put the gcc headers out of sync with the system > headers - you can run the fix headers script if you have it - or move > the bad types.h as I did in my case: > > mv /usr/local/lib/gcc/i386-pc-solaris2.9/3.4.1/include/sys/types.h > /usr/local/lib/gcc/i386-pc-solaris2.9/3.4.1/include/sys/types.h.bad > > make clean;make solaris > > Then it took a few minutes to find that the gcc make will not build the > package: Gnu make, not gcc make... > http://marc.theaimsgroup.com/?l=ipfilter > <http://marc.theaimsgroup.com/?l=ipfilter&m=108809966109895&w=2> > &m=108809966109895&w=2 > > Try using /usr/ccs/bin/make package and see if that works. > Yes it does!! > > > I gotta say ipf is a far cry from the > ../configure --prefix=/usr/local/stow/... > make > make install > > packages we are used to... Most of the open source programs you build with this method usually don't register the software with the Solaris package management system, either, so if you're doing jumpstarting, or otherwise using more advanced installation techniques then you're unsupported. That said, compiling IPFilter should be about this simple when your system is properly installed: cd pfil make && make install cd ../ip_fil4.1.3 make solaris && make install-sunos5 reboot Notice the absence of a "./configure" step... For best results on Solaris, I always advocate using Sun's compiler suite (now Forte.) Darren |