Thank you again, sir. You have solved it. Chris Buxton Professional Services Men & Mice Address: Noatun 17, IS-105, Reykjavik, Iceland Phone: +354 412 1500 Email: [EMAIL PROTECTED] www.menandmice.com
Men & Mice We bring control and flexibility to network management This e-mail and its attachments may contain confidential and privileged information only intended for the person or entity to which it is addressed. If the reader of this message is not the intended recipient, you are hereby notified that any retention, dissemination, distribution or copy of this e-mail is strictly prohibited. If you have received this e-mail in error, please notify us immediately by reply e-mail and immediately delete this message and all its attachment. On Jan 21, 2008, at 10:01 PM, Gregory Fleischer (Lists) wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Jan 21, 2008, at 8:34 AM, Chris Buxton wrote: > >> Using the uClibc/linux 2.6 book, in chapter 6, the groff package >> fails. It appears to be due to this error: >> >> /usr/include/bits/getopt.h:155: error: declaration of 'int getopt >> (int, char* const*, const char*) throw ()' throws different >> exceptions >> /usr/src/groff/groff-1.18.1.4/src/include/groff-getopt.h:52: error: >> from previous declaration 'int getopt(int, char* const*, const >> char*)' >> make[2]: *** [maxfilename.o] Error 1 >> make[2]: Leaving directory `/usr/src/groff/groff-1.18.1.4/src/libs/ >> libgroff' >> make[1]: Leaving directory `/usr/src/groff/groff-1.18.1.4' >> make[1]: *** [src/libs/libgroff] Error 2 >> make: *** [all] Error 2 >> > > The older versions of groff attempted to implement its own getopt > which conflicts with the definition of the system version [1]. > > You could try this. Before running ./configure execute: > > sed -i -e 's/groff-getopt/getopt/' src/include/lib.h > > That should prevent groff from including its own definitions. > >> If I'm building a server that has no need of man pages, can I skip >> groff? Or will later packages have problems? > > I had problems when I skipped groff, but I don't remember what they > were. > > [1] http://cvs.savannah.gnu.org/viewvc/groff/src/include/lib.h? > root=groff&view=log#rev1.40 > >> > > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.7 (Darwin) > > iD8DBQFHlRY1WbVJrJm/lrsRAhr5AJ4rdIKVdB2oDlcf0X6Akughv4phkgCfXBgC > f71KQapHIChYQpFZZOiiJGo= > =MZai > -----END PGP SIGNATURE----- > -- > http://linuxfromscratch.org/mailman/listinfo/hlfs-dev > FAQ: http://www.linuxfromscratch.org/faq/ > Unsubscribe: See the above information page -- http://linuxfromscratch.org/mailman/listinfo/hlfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
