problems building the latest ghostscript-gpl
Aryeh M. Friedman
aryeh.friedman at gmail.com
Thu May 8 14:51:10 UTC 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Scot Hetzel wrote:
| I'm also having the same problem building on
| FreeBSD/AMD64 8-CURRENT. I commented out the entries
| I had in ports.conf for this port, and checked CFLAGS:
|
| # cd /usr/ports/print/ghostscript-gpl
| # make -V CFLAGS
| -O2 -pipe -fno-strict-aliasing
|
| And the port fails the same way. FT_BRIDGE is not enabled. When I
added -fPIC
| to CFLAGS_STANDARD. Then the port would build.
None of the below work but the above does with a slight motification
(tha attached patch). Is it time to submit a formal PR with the
patch attached?
|
| Scot
|
| On 5/7/08, Andy Fawcett <andy at athame.co.uk> wrote:
|> On Wednesday 07 May 2008 19:42:31 Sean C. Farley wrote:
|>> On Wed, 7 May 2008, Andy Fawcett wrote:
|>>> On Wednesday 07 May 2008 17:13:59 Sean C. Farley wrote:
|>>>> On Wed, 7 May 2008, Aryeh M. Friedman wrote:
|>>>>> /usr/bin/ld: ./obj/../soobj/gs.o: relocation R_X86_64_32 can not be
|>>>>> used when making a shared object; recompile with -fPIC
|>>>> On amd64, you need to remove the FT_BRIDGE option to compile. I have
|>>>> not had time to look into what is actually happening or needs to be
|>>>> fixed.
|>>> Makes no difference here, I get the same error with:
|>>>
|>>> _OPTIONS_READ=ghostscript-gpl-8.62_1
|>>> WITHOUT_FONTCONFIG=true
|>>> WITHOUT_FT_BRIDGE=true
|>>> WITHOUT_GS_lvga256=true
|>>> WITHOUT_GS_vgalib=true
|>>> .
|>>> .
|>>> all other items are WITH_foo=true
|>> That is what I have. Maybe a rebuild of freetype2 (v2.3.5 here) would
|>> help? Are you using a port builder that sets the environment variable
|>> BATCH and have portconf installed? That may bypass the setting in the
|>> options file. Those are my only guesses.
|> I'm using portupgrade, BATCH is not set, portconf isn't installed,
and all
|> dependency ports are up to date. This is with a csup just before I
sent the
|> mail, so pretty up to date.
|>
|> Andy
|>
|>
|>
|>
|> --
|> Andy Fawcett | andy at athame.co.uk
|> | tap at kde.org
|> "In an open world without walls and fences, | tap at lspace.org
|> we wouldn't need Windows and Gates." -- anon | tap at fruitsalad.org
|> _______________________________________________
|> freebsd-ports at freebsd.org mailing list
|> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
|> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
|>
|
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkgjE1QACgkQk8GFzCrQm4D0HwCguyGmBdwQvKd4dmCKVl40Vyho
HTYAoJV/95vSF/Z2dzdvONpn6snOpWUS
=HL35
-----END PGP SIGNATURE-----
-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /usr/home/ncvs/ports/print/ghostscript-gpl/Makefile,v
retrieving revision 1.166
diff -r1.166 Makefile
35a36
> CFLAGS += -fPIC
More information about the freebsd-ports
mailing list