groff fails to compile
cbuxton at menandmice.com
Mon Jan 21 17:52:01 PST 2008
Thank you again, sir. You have solved it.
Men & Mice
Address: Noatun 17, IS-105, Reykjavik, Iceland
Phone: +354 412 1500
Email: cbuxton at 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
>> /usr/src/groff/groff-184.108.40.206/src/include/groff-getopt.h:52: error:
>> from previous declaration 'int getopt(int, char* const*, const
>> make: *** [maxfilename.o] Error 1
>> make: Leaving directory `/usr/src/groff/groff-220.127.116.11/src/libs/
>> make: Leaving directory `/usr/src/groff/groff-18.104.22.168'
>> make: *** [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 .
> 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
>  http://cvs.savannah.gnu.org/viewvc/groff/src/include/lib.h?
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.7 (Darwin)
> -----END PGP SIGNATURE-----
> FAQ: http://www.linuxfromscratch.org/faq/
> Unsubscribe: See the above information page
More information about the hlfs-dev