...continued... (apologies for the mispost above - accidentally hit the
Submit button via an over-sensitive glidepad!)

"argument 2" turns out to be the compiler define VERSION, which is 0.31.
However, argument 2 to gnome_program_init() is a const char *

VERSION is defined twice in config.h, on line3 and at the end. it is
defined as a decimal number not a string. This can be temporarily fixed
by enclosing the number in quotes but it doesn't fix the problem
permanently because config.h is regenerated by the autogen/configure
scripts.

Also, there should only be one definition of VERSION.

Now, build gets further but fails with "make: No rule to make target
Gnome_CupsManager.server"

This seems to be a problem caused by the Capitalisation of the name. It
is created by a reference to Gnome_CupsManager.server.in and then
assigned to server_DATA which has the '.in' stripped off the end and is
assigned to server_Data, which is later assigned to DATA, which is then
used as a compilation target and fails in gnome-cups-manager/Makefile
with 'no build target', but the Capitalised version doesn't exist:

gnome-cups-manager/Makefile.am:63:

server_in_files = Gnome_CupsManager.server.in
server_DATA = $(server_in_files:.server.in=.server)

gnome-cups-manager/Makefile.in

DATA = $(cupsmanagerdata_DATA) $(gnomecupsmanager_DATA) $(server_DATA)
all-am: Makefile $(PROGRAMS) $(DATA)

There is another reference that seems to need fixing up:

po/POTFILES.in:9: gnome-cups-manager/Gnome_CupsManager.server.in

It seems the solution for these is to lower-case both initial entries
and rename the file to an  all-lowercase name.

After all this it seems suspicious that this build should fail for me
from a clean install when I assume the same source package is used to
build the binaries in the repositories.

-- 
Building gnome-cups-manager source fails
https://bugs.launchpad.net/bugs/116947
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to