[cups.general] Problems compiling cupsd on AIX 5.3

Stef Coene stef.coene at docum.org
Thu Nov 24 07:54:22 PST 2005


Hi,

I have some problems with getting cupsd running on AIX.  I used espgs-8.15.1, 
th system is running AIX 5.3, I installed some extra development library's so 
configure gives no errors, gcc-3.3.2-3 and gcc-c++-3.3.2-3 are installed.

This is a long post, I know ;)


I will start with the first error:
---------
make: 1254-002 Cannot find a rule to create target src/png.c from 
dependencies.
Stop.
---------

I solved this with
../configure --with-drivers=PRINTERS

I don't need the extra output drivers because gs will only be used to process 
print jobs.  So I only enabled the "printer" output drivers.

Then a new error occured:
---------
In file included from addons/eplaser/gdevescv.c:76:
addons/eplaser/gdevescv.h:25:2: #error "TRUE is already defined."
addons/eplaser/gdevescv.h:31:2: #error "FALSE is already defined."
make: 1254-004 The error code from the last command is 1.
---------

After some digging around, I found out that this is for EPSON support.  So I 
disabled EPSON printer support with :
../configure --with-drivers=APPLE,BROTHER,CANON,HP,IBM,JAPAN,LEXMARK,OKI,PCLXL

Then I get this error:
---------
ld: 0711-317 ERROR: Undefined symbol: .rpl_malloc
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
collect2: ld returned 8 exit status
make: 1254-004 The error code from the last command is 1.

Stop.
---------

I deleted the line AC_FUNC_MALLOC from configure.ac, however, I also had to 
remove the "-Dmalloc=rpl_malloc" from the Makefile.  (I rerun configure after 
editing configure.ac.)

YES, the comile went ok.  Next problem, trying to install it with make 
install :)

---------
        mkdir -p /usr/local/lib/ghostscript/8.15
        /bin/sh -c 'echo  | while read obj ; do  test -z $obj 
|| ./src/instcopy -c -m 755 $obj /usr/local/lib/ghostscript/8.15/; done'
/bin/sh: test: 0403-004 Specify a parameter with this command.
Usage: instcopy -c [-m <mode>] <srcfile> (<dstdir>|<dstfile>)
make: 1254-004 The error code from the last command is 1.

Stop.
---------

I was able to solve this by changing ./src/unixinst.mak and disabling the 
installation of install-examples.


For who is still reading this mail, thank you ;)

Stef





More information about the cups mailing list