[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gambas-user
Subject:    Re: [Gambas-user] make install errors
From:       diego fernandez <diego () cipet ! ac ! cr>
Date:       2009-01-29 1:14:35
Message-ID: 498102FB.1070008 () cipet ! ac ! cr
[Download RAW message or body]

Benoit Minisini wrote:
> 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?
>
>   
Just download rev 1830, on ubuntu 8.04.2, try to compile it and this is 
what happen at the end of the make install part:

gv4l2.c: In function 'gv4l2_process_image':
gv4l2.c:588: error: 'V4L2_PIX_FMT_Y16' undeclared (first use in this 
function)
gv4l2.c:588: error: (Each undeclared identifier is reported only once
gv4l2.c:588: error: for each function it appears in.)
gv4l2.c:616: error: 'V4L2_PIX_FMT_SGBRG8' undeclared (first use in this 
function)
gv4l2.c:617: error: 'V4L2_PIX_FMT_SBGGR16' undeclared (first use in this 
function)
gv4l2.c:627: error: 'V4L2_PIX_FMT_SPCA501' undeclared (first use in this 
function)
gv4l2.c:628: error: 'V4L2_PIX_FMT_SPCA505' undeclared (first use in this 
function)
gv4l2.c:629: error: 'V4L2_PIX_FMT_SPCA508' undeclared (first use in this 
function)
gv4l2.c:630: error: 'V4L2_PIX_FMT_SPCA561' undeclared (first use in this 
function)
gv4l2.c:631: error: 'V4L2_PIX_FMT_PAC207' undeclared (first use in this 
function)
gv4l2.c:632: error: 'V4L2_PIX_FMT_PJPG' undeclared (first use in this 
function)
gv4l2.c:633: error: 'V4L2_PIX_FMT_YVYU' undeclared (first use in this 
function)
make[2]: *** [gv4l2.lo] Error 1
make[2]: Leaving directory `/home/diego/trunk/gb.v4l/src'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/diego/trunk/gb.v4l'
make: *** [install-recursive] Error 1


Help needed to solve this..

Thank you.

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic