[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-gnubatch] Installation trouble and possible root causes (no pat
From: |
Jan Schampera |
Subject: |
Re: [bug-gnubatch] Installation trouble and possible root causes (no patch/fix) |
Date: |
Thu, 26 Aug 2010 20:17:06 +0200 |
User-agent: |
Mozilla-Thunderbird 2.0.0.24 (X11/20100329) |
John M Collins wrote:
Could you take the version from the Git source repository for now and
confirm it's still wrong. I'm just in the process of creating the next
version as when Debian approve it for their dists I'll make a tarball.
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