[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [help-gnubatch] Bug Installing
From: |
Jan Schampera |
Subject: |
Re: [help-gnubatch] Bug Installing |
Date: |
Sun, 07 Aug 2011 09:20:00 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20110702 Iceowl/1.0b1 Icedove/3.0.11 |
On 28.07.2011 11:42, David Strydom wrote:
I am trying to install gnubatch-1.3 and getting the below error message.
Hi David,
some months ago I posted some "manual fixes" for the installation
process. The Makefiles are buggy or at least unlucky.
See the text below, it may contain stuff you need.
Regards,
Jan
---------------------------------------------
My environment:
- Debian 5.0.5 64bit
- GNU Autoconf 2.61
- GNU Automake 1.10.1
I cloned http://git.savannah.gnu.org/cgit/gnubatch.git and it's still
the same.
A big (but maybe wrong) fix is to put datarootdir = @datarootdir@ into
the relevant Makefile.in files and to adjust doc/Makefile.in to
a) create the MANDIR/manN directories
b) use ln -sf instead of only ln -s to be able to re-run make install
Anyways, I'm not an autotools expert, I grew up with ready
configure.ac's and Makefile.in's where I coded until now...
So I just give you the user point of view with manual fixes and thoughts
(tagged with "-->") ;-)
Hope that helps a bit,
Jan "TheBonsai"
--- MY PERSONAL INSTALL LOG(TM) ---
/usr/bin/install -c -m 644 libgnubatch_int.la libgnubatch_client.la
libgnubatch_curs.la /opt/gnubatch/lib
/usr/bin/install: angegebenes Ziel „/opt/gnubatch/lib“ ist kein Verzeichnis
make[2]: *** [install] Fehler 1
make[2]: Leaving directory `/home/bonsai/devel/gnubatch/build/lib'
make[1]: *** [install] Fehler 2
make[1]: Leaving directory `/home/bonsai/devel/gnubatch/build'
make: *** [install] Fehler 2
--> mkdir /opt/gnubatch/lib
/usr/bin/install -c -m 644 poddoc/man/*.1 /opt/gnubatch/share/man/man1
/usr/bin/install: angegebenes Ziel „/opt/gnubatch/share/man/man1“ ist
kein Verzeichnis
make[1]: *** [install] Fehler 1
make[1]: Leaving directory `/home/bonsai/devel/gnubatch/doc'
make: *** [install] Fehler 2
--> mkdir -p /opt/gnubatch/share/man/man{1,3,5,8}
/usr/bin/install -c -d
/usr/bin/install: Fehlendes Dateioperand
„/usr/bin/install --help“ gibt weitere Informationen.
make[1]: *** [install] Fehler 1
make[1]: Leaving directory `/home/bonsai/devel/gnubatch/doc'
make: *** [install] Fehler 2
--> $(PDFDIR) in doc/Makefile undefined/empty!
--> manually enter a path, no idea where the variable should come from
cd /opt/gnubatch/share/man/man1; for p in conn disconn dst; do ln -s
gbch-start.1 gbch-$p.1; done
ln: Erzeuge symbolische Verknüpfung „gbch-conn.1“: Die Datei existiert
bereits
ln: Erzeuge symbolische Verknüpfung „gbch-disconn.1“: Die Datei
existiert bereits
ln: Erzeuge symbolische Verknüpfung „gbch-dst.1“: Die Datei existiert
bereits
make[1]: *** [install] Fehler 1
make[1]: Leaving directory `/home/bonsai/devel/gnubatch/doc'
make: *** [install] Fehler 2
--> edit doc/Makefile to use ln -f everywhere
false || /opt/gnubatch/bin/gbch-uchange -R
Cannot find help message file /opt/gnubatch/share/gnubatch/help/btrest.help
Maybe installation was not complete?
make: *** [install] Fehler 255
--> datarootdir issue
--> mkdir -p /opt/gnubatch/share/gnubatch/help
--> cp build/helpmsg/* /opt/gnubatch/share/gnubatch/help
# ./gbch-start
gbch-start - restarting GNUbatch scheduler process
--> OK
$ ./gbch-xq
(gbch-xq:12135): GLib-WARNING **: GError set over the top of a previous
GError or uninitialized memory.
This indicates a bug in someone's code. You must ensure an error is NULL
before it's set.
The overwriting error message was: Failed to open file
'/opt/gnubatch/share/gnubatch/help/xbtq.menu': Datei oder Verzeichnis
nicht gefunden
** Message: Menu build failed
--> indicates 2 problems, IMHO
--> 1. GError handling
--> 2. datarootdir again :)
--> cp build/gtk/* /opt/gnubatch/share/gnubatch/help
$ ./gbch-xq
--> OK
--
Be conservative in what you do, be liberal in what you accept from others.
- jbp, master of the net, in RFC793
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [help-gnubatch] Bug Installing,
Jan Schampera <=