Compiling CUPS on AIX 5.3 (ppc)

James Mackay james.mackay at innoviafilms.com
Mon Apr 26 04:26:49 PDT 2010


Hi, back again.

I've managed to get the software compiled, installed and running. But am unable to get into the Admin Web Configuration. Connecting to the server from a remote PC it is able to server the Main Cups Page (http://<THE_SERVER_NAME>:631), but when clicking on a link to the admin page (http://<THE_SERVER_NAME>:631/admin/)it Bombs with an error 500. After increasing the logging level it is putting the following into the log:

D [23/Apr/2010:16:56:43 +0000] PID 188664 (/cups/lib/cups/cgi-bin/admin.cgi) stopped with status 255!
D [23/Apr/2010:16:56:43 +0000] [CGI] Could not load program /cups/lib/cups/cgi-bin/admin.cgi:
D [23/Apr/2010:16:56:43 +0000] [CGI] Dependent module libcups_s.a(libcups_s.o) could not be loaded.
D [23/Apr/2010:16:56:43 +0000] [CGI] Could not load module libcups_s.a(libcups_s.o).

I saw a previous post on this forum and it suggested problems with admin.cgi could be to do with the path for CUPS_DATADIR???

CUPS is installed in a non-standard location (/cups).

File libcups_s.a is located in /cups/lib.

Any ideas on what could be the problem here?

Thanks

James

> Michael,
>
> Thanks very much for your help here, that has got it to successfully compile and install.
>
> Best Regards
>
> James
>
> > On Apr 22, 2010, at 2:37 AM, James Mackay wrote:
> > > I have managed to get a lot further with the compilation on AIX =
> > (5.3.0.11), but am still hitting problem.
> > > - Execute make.
> > >=20
> > > 	make
> > > Target ".NOTPARALLEL" is up to date.
> >
> > Sorry, do "make all".  I'll move the GNU make pseudo target to the =
> > bottom for future releases...
> >
> > > - Execute make command.
> > >=20
> > > 	make install
> > > ..
> > > ..
> > > ..
> > > Compiling pstops.c...
> > > Linking pstops...
> > > ld: 0711-224 WARNING: Duplicate symbol: .fres
> > > ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more =
> > information.
> > > ld: 0711-317 ERROR: Undefined symbol: ._cupsLangPrintError
> > > collect2: ld returned 8 exit status
> > > make: 1254-004 The error code from the last command is 1.
> >
> > That sounds like a missing function in the cups/libcups_s.exp file; can =
> > you edit that file and add a line reading:
> >
> >     _cupsLangPrintError
> >
> > and see if you can get further?
> >
> > ________________________________________________________________________
> > Michael Sweet, Senior Printing System Engineer, PWG Chair
> >
> >
> >
> >
>





More information about the cups mailing list