[Gambas-user] make install errors

Benoit Minisini gambas at ...1...
Thu Jan 29 00:05:34 CET 2009


On mercredi 28 janvier 2009, Ron_1st wrote:
> On Wednesday 28 January 2009, Ron_1st wrote:
> > OK done.
> >
> > reconf, configure done OK
> > make had error in gbv4l2.c, corrected and make done OK
> >
> > Now the make install.
> > Crossing my fingers.
> >
> >
> >
> >
> > Best regards,
> >
> > Ron_1st
>
> Still no luck
>
> THe ****----**** are insrt by me
>
> make[1]: Leaving directory `/home/ron/src/gambas3/trunk/gb.gtk.svg'
>
> ****----****
>
> Making install in gb.desktop
> make[1]: Entering directory `/home/ron/src/gambas3/trunk/gb.desktop'
> Making install in src
> make[2]: Entering directory `/home/ron/src/gambas3/trunk/gb.desktop/src'
> Making install in .
> make[3]: Entering directory `/home/ron/src/gambas3/trunk/gb.desktop/src'
> make[4]: Entering directory `/home/ron/src/gambas3/trunk/gb.desktop/src'
> make[4]: Nothing to be done for `install-exec-am'.
> test -z "/usr/local/lib/gambas3" || mkdir -p -- "/usr/local/lib/gambas3"
>  /usr/bin/install -c -m 644 'gb.desktop.component'
> '/usr/local/lib/gambas3/gb.desktop.component' test -z
> "/usr/local/lib/gambas3" || mkdir -p -- "/usr/local/lib/gambas3"
> /usr/bin/install -c -m 644 'gb.desktop.component'
> '/usr/local/lib/gambas3/gb.desktop.component' test -z
> "/usr/local/lib/gambas3" || mkdir -p -- "/usr/local/lib/gambas3" /bin/bash
> ../libtool --mode=install /usr/bin/install -c  'gb.desktop.la'
> '/usr/local/lib/gambas3/gb.desktop.la' /usr/bin/install -c
> .libs/gb.desktop.so.0.0.0 /usr/local/lib/gambas3/gb.desktop.so.0.0.0 (cd
> /usr/local/lib/gambas3 && { ln -s -f gb.desktop.so.0.0.0 gb.desktop.so.0 ||
> { rm -f gb.desktop.so.0 && ln -s gb.desktop.so.0.0.0 gb.desktop.so.0; }; })
> (cd /usr/local/lib/gambas3 && { ln -s -f gb.desktop.so.0.0.0 gb.desktop.so
> || { rm -f gb.desktop.so && ln -s gb.desktop.so.0.0.0 gb.desktop.so; }; })
> /usr/bin/install -c .libs/gb.desktop.lai
> /usr/local/lib/gambas3/gb.desktop.la PATH="$PATH:/sbin" ldconfig -n
> /usr/local/lib/gambas3
> ----------------------------------------------------------------------
> Libraries have been installed in:
>    /usr/local/lib/gambas3
>
> If you ever happen to want to link against installed libraries
> in a given directory, LIBDIR, you must either use libtool, and
> specify the full pathname of the library, or use the `-LLIBDIR'
> flag during linking and do at least one of the following:
>    - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
>      during execution
>    - add LIBDIR to the `LD_RUN_PATH' environment variable
>      during linking
>    - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
>    - have your system administrator add LIBDIR to `/etc/ld.so.conf'
>
> See any operating system documentation about shared libraries for
> more information, such as the ld(1) and ld.so(8) manual pages.
> ----------------------------------------------------------------------
> make  install-data-hook
> make[5]: Entering directory `/home/ron/src/gambas3/trunk/gb.desktop/src'
> ****----****
> 	in /usr/local/lib/gambas3/
> 	gb.desktop.component .gambas .la .so .so.0 .so.0.0.0
> 	total 6 files
> 	in /usr/local/share/gambas3 gb.desktop.list(60) and .info(1824 bytes)
> ****----****
> Compiling the gb.desktop project...
> gb.desktop
> Cannot read component list file:
> /root/.local/share/gambas3/info/gb.form.list
> /home/ron/src/gambas3/trunk/gb.desktop/src/gb.desktop/DesktopWindow.class:1
>4: Unknown identifier: Image
>
> Creating the information files for gb.desktop component...
> gb.desktop
>
> make[5]: Leaving directory `/home/ron/src/gambas3/trunk/gb.desktop/src'
> make[4]: Leaving directory `/home/ron/src/gambas3/trunk/gb.desktop/src'
> make[3]: Leaving directory `/home/ron/src/gambas3/trunk/gb.desktop/src'
> make[2]: Leaving directory `/home/ron/src/gambas3/trunk/gb.desktop/src'
> make[2]: Entering directory `/home/ron/src/gambas3/trunk/gb.desktop'
> make[3]: Entering directory `/home/ron/src/gambas3/trunk/gb.desktop'
> make[3]: Nothing to be done for `install-exec-am'.
> make[3]: Nothing to be done for `install-data-am'.
> make[3]: Leaving directory `/home/ron/src/gambas3/trunk/gb.desktop'
> make[2]: Leaving directory `/home/ron/src/gambas3/trunk/gb.desktop'
> make[1]: Leaving directory `/home/ron/src/gambas3/trunk/gb.desktop'
>
> ****----****
>
> Making install in gb.qt4
> make[1]: Entering directory `/home/ron/src/gambas3/trunk/gb.qt4'
>
> ---8<---
> Making install in comp
> make[1]: Entering directory `/home/ron/src/gambas3/trunk/comp'
> make[2]: Entering directory `/home/ron/src/gambas3/trunk/comp'
> Running the informer again because of dependencies between information
> files gb
> gb.compress
> gb.crypt
> gb.db
> gb.db.mysql
> ---8<----
> gb.xml
> gb.xml.rpc
> gb.xml.xslt
> Installing the components...
> Compiling gb.settings...
> OK
> Installing gb.settings...
> Compiling gb.info...
> OK
> Installing gb.info...
> Compiling gb.form...  ****---****  <---- here the gb.form compile
> Installing gb.form...
> Compiling gb.form.dialog...
> Installing gb.form.dialog...
> Compiling gb.form.mdi...
> Installing gb.form.mdi...
> Compiling gb.db.form...
> Installing gb.db.form...
> Compiling gb.web...
> OK
> Installing gb.web...
> Compiling gb.report...
>
>
> How can the gb.desktop component do:
>   Cannot read component list file:
> /root/.local/share/gambas3/info/gb.form.list when it is not compiled, or do
> I miss something???
> Looks to me here the --prefix value is lost but why changed to /root/.local
> ??
>
>
> gb.form.list is not in /usr/local/share/gambas3/info/ only
> gb.form.dialog.list and .info
>
> /root/.local/share/gambas3 does not exist.
>
>
>
>
> I made a copy of local trunk befor the make install
> After make install in gb.desktop/src/gb.desktop there is gb.desktop.gambas
> and .startup add .info and .list are changed
> from .info there is a big part deleted after make install
>
> ================= .info ============
> DesktopWatcher_Window
> m
>
> (Window)i(X)i(Y)i(Width)i(Height)i  <--- last line after make install
> #DesktopWindow	<---- and more below before make install
>
> C
> X
> ===================================
>
>
> file:///home/ron/src/gambas3/trunk/gb.desktop/src/gb.desktop/.list
> Desktop
> DesktopFile
> DesktopWatcher
>
> file:///home/ron/src/gambas3/trunk_1827_bak/gb.desktop/src/gb.desktop/.list
> Desktop
> DesktopFile
> DesktopWatcher
> DesktopWindow
> _DesktopPasswords
> _DesktopScreenSaver
> _DesktopVirtual
> _DesktopWindows
>
> This could be OK, I don't know but only report the fact.
>
>
> .list and .info are blown away
> gb.chart
> gb.form
> gb.db.form
> gb.form.mdi
> gb.report
> /home/ron/src/gambas3/trunk/gb.gtk/src/gb.gtk/.info
> /home/ron/src/gambas3/trunk/gb.qt/src/gb.qt/.info
>
>
> .info and .list keep same
> gb.form.dialog
> gb.info
> gb.settings
> gb.web
> /home/ron/src/gambas3/trunk/gb.db.mysql/src/gb.db.mysql/.info
> /home/ron/src/gambas3/trunk/gb.xml/src/rpc/gb.xml.rpc/.info
>
> So for some components written in gambas both files are deleted after make
> install For others the stay the same except gb,desktop the are changed.
>
> I do not see the logic of this behaviour.
>
> Is there anything to change a Makefile.in or Makefile.am somewhere and
> force the /usr/local for the .info and .list files???
>
>
>
> Best regards,
>
> Ron_1st

You were right about gb.desktop, there were obsolete information in the 
project *.component file. Can you try the revision #1830?

-- 
Benoit Minisini




More information about the User mailing list