[Portland] The Code

Bryce Harrington bryce at osdl.org
Wed Feb 15 21:45:04 EET 2006


On Wed, Feb 15, 2006 at 07:25:53PM +0100, Lubos Lunak wrote:
>  Hello,
> 
>  so much discussion and now not a single mail for a month and also no 
> resulting functionality AFAIK (or have I missed something?).
> 
>  At http://ktown.kde.org/~seli/dapi/dapi.tar.bz2 is a tarball implementing 
> some basic desktop API. To build there's the usual "configure && make" combo, 

./configure passed without error, but when I ran make I saw this:

...
Good - your configure finished. Start make now

$ make
WARNING: use unsermake instead of make or use a wrapper script,
e.g. makeobj!!!
/home/llunak/build/unsermake/unsermake all
make: /home/llunak/build/unsermake/unsermake: Command not found
make: *** [all] Error 127
$ 

I noticed that the unsermake path is hardcoded in Makefile.in.
To fix this, I changed those hardcodes into $UNSERMAKE, and then set
that as follows:

   export UNSERMAKE="/usr/kde/unsermake/unsermake"

Patch below.

Makefile is now finding unsermake properly, but still isn't building:

$ make
cd . && /bin/sh ./config.status Makefile
fast creating Makefile
config.pl: fast created 1 file(s).
WARNING: use unsermake instead of make or use a wrapper script, e.g. makeobj!!!
/usr/kde/unsermake/unsermake all
all.am does not exist!
make: *** [all] Error 1


Bryce


--- /home/bryce/Build/dapi/Makefile.in  2006-02-15 09:30:08.000000000 -0800
+++ ./Makefile.in       2006-02-15 11:41:16.000000000 -0800
@@ -251,31 +251,31 @@
 
 all:
        @echo 'WARNING: use unsermake instead of make or use a wrapper script, e.g. makeobj!!!'
-       /home/llunak/build/unsermake/unsermake all
+       $(UNSERMAKE) all
 
 install:
        @echo 'WARNING: use unsermake instead of make or use a wrapper script, e.g. makeobj!!!'
-       /home/llunak/build/unsermake/unsermake install
+       $(UNSERMAKE) install
 
 install-data:
        @echo 'WARNING: use unsermake instead of make or use a wrapper script, e.g. makeobj!!!'
-       /home/llunak/build/unsermake/unsermake install-data
+       $(UNSERMAKE) install-data
 
 install-exec:
        @echo 'WARNING: use unsermake instead of make or use a wrapper script, e.g. makeobj!!!'
-       /home/llunak/build/unsermake/unsermake install-exec
+       $(UNSERMAKE) install-exec
 
 clean:
        @echo 'WARNING: use unsermake instead of make or use a wrapper script, e.g. makeobj!!!'
-       /home/llunak/build/unsermake/unsermake clean
+       $(UNSERMAKE) clean
 
 check:
        @echo 'WARNING: use unsermake instead of make or use a wrapper script, e.g. makeobj!!!'
-       /home/llunak/build/unsermake/unsermake check
+       $(UNSERMAKE) check
 
 force-reedit:
        @echo 'WARNING: use unsermake instead of make or use a wrapper script, e.g. makeobj!!!'
-       /home/llunak/build/unsermake/unsermake force-reedit
+       $(UNSERMAKE) force-reedit
 
 $(top_builddir)/Makefile: $(top_builddir)/config.status $(top_srcdir)/Makefile.in
        cd $(top_builddir) && $(SHELL) ./config.status Makefile



More information about the Portland mailing list