Bug 690630 - The --with-drivers=FILES option for configure doesn't work
Summary: The --with-drivers=FILES option for configure doesn't work
Status: NOTIFIED FIXED
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: Build Process (show other bugs)
Version: 8.64
Hardware: Sun Solaris
: P2 minor
Assignee: Chris Liddell (chrisl)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-14 05:23 UTC by Michael Toftdal
Modified: 2011-10-02 02:35 UTC (History)
1 user (show)

See Also:
Customer: 200
Word Size: ---


Attachments
patch (412 bytes, patch)
2010-12-29 18:15 UTC, Alex Cherepanov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Toftdal 2009-07-14 05:23:58 UTC
I (eg.) run 
./configure --without-x --without-libiconv --with-drivers=FILES
--disable-fontconfig --disable-cups --disable-gtk --disable-cairo

and get the following when trying to compile with "make so":

[...]
./obj/../soobj/echogs -e .dev -a-  ./obj/../soobj/jpeggray -include
./obj/../soobj/sdcte
make[1]: *** No rule to make target `contrib/japanese/gdevmag.c', needed by
`obj/../soobj/gdevmag.o'.  Stop.
make[1]: Leaving directory
`/.automount/devel-ed1/root/zones/jne-zone/root/export/home/mito/Extern/gs8.64_Linux'
make: *** [so] Error 2
Comment 1 Ray Johnston 2009-07-16 10:04:06 UTC
As a licensed OEM customer, you should be using the Artifex release,
NOT the GPL releases (unless you are building a GPL product, and then there
is no support).
Comment 2 Michael Toftdal 2009-07-16 13:07:03 UTC
It IS the Artifex source I am building.
Comment 3 Alex Cherepanov 2009-07-18 21:20:10 UTC
Rev. 9871 fixes libiconv link errors. The option --without-libiconv is no
longer needed on Solaris. See bug 690123 for details.
Comment 4 Hin-Tak Leung 2010-05-05 03:33:17 UTC
I tried the reported ./configure options and 'make so' run to completion on x86_64 linux (other than needing -fPIC to linking, which is a known X86_64 linux issue). Aassign to Chris for trying out on Solaris to confirm before closing.
Comment 5 Alex Cherepanov 2010-12-29 18:15:39 UTC
Created attachment 7073 [details]
patch

Open Solaris need this patch to build "so" target with gcc.
Besides this, the configure options work for me with current
development version.
Comment 6 Alex Cherepanov 2010-12-30 19:17:28 UTC
The patch has been committed as a rev. 11984.
Configuration and build process has been tested for all combinations of
gcc 3.4.3 vs. Sun Studio 12.2, bash vs. sh, default, debug, and so targets.

$ uname -a
SunOS opensolaris 5.11 snv_111b i86pc i386 i86pc Solaris

Most likely, all build problems in Solaris are fixed.
If not, feel free to re-open this bug report or file a new one.