[Gambas-user] make install: violation segment

jj at ...1636... jj at ...1636...
Sat Sep 1 10:34:26 CEST 2007


I did this:

$mkdir ~/Desktop/trunk
$svn checkout https://gambas.svn.sourceforge.net/svnroot/gambas/2.0/trunk/
$cd trunk
$./reconf-all && ./configure -C && make && su -c "make install"

.....

jj at ...1762...:~/Desktop/trunk$ gbi2 -v
component path: /usr/lib/gambas2
info path: /usr/share/gambas2/info
gb.net
gbi: Cannot write file: /usr/share/gambas2/info/gb.net.info: Permission denied

jj at ...1762...:~/Desktop/trunk$ gbi2 -v -p
component path: /usr/lib/gambas2
info path: /usr/share/gambas2/info
gb.net
gbi: Cannot write file: /usr/share/gambas2/info/gb.net.info: Permission denied

it's very strange...

Quoting Benoit Minisini <gambas at ...1...>:

> On samedi 01 septembre 2007, jj at ...1636... wrote:
>> Hi!
>> In gnu/Linex, last version svn, in the "#make install".
>> what's wrong?
>> thanks!
>>
>>
>> Making install in gb.desktop
>> make[1]: Entering directory `/home/jj/Desktop/trunk/gb.desktop'
>> Making install in src
>> make[2]: Entering directory `/home/jj/Desktop/trunk/gb.desktop/src'
>> make[3]: Entering directory `/home/jj/Desktop/trunk/gb.desktop/src'
>> make[3]: No se hace nada para `install-exec-am'.
>> test -z "/usr/local/lib/gambas2" || mkdir -p -- "/usr/local/lib/gambas2"
>> /usr/bin/install -c -m 644 'gb.desktop.component'
>> '/usr/local/lib/gambas2/gb.desktop.component'
>> test -z "/usr/local/lib/gambas2" || mkdir -p -- "/usr/local/lib/gambas2"
>> /usr/bin/install -c -m 644 'gb.desktop.component'
>> '/usr/local/lib/gambas2/gb.desktop.component'
>> test -z "/usr/local/lib/gambas2" || mkdir -p -- "/usr/local/lib/gambas2"
>> /bin/sh ../libtool --mode=install /usr/bin/install -c  'gb.desktop.la'
>> '/usr/local/lib/gambas2/gb.desktop.la'
>> /usr/bin/install -c .libs/gb.desktop.so.0.0.0
>> /usr/local/lib/gambas2/gb.desktop.so.0.0.0
>> (cd /usr/local/lib/gambas2 && rm -f gb.desktop.so.0 && ln -s
>> gb.desktop.so.0.0.0
>> gb.desktop.so.0)
>> (cd /usr/local/lib/gambas2 && 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/gambas2/gb.desktop.la PATH="$PATH:/sbin" ldconfig -n
>> /usr/local/lib/gambas2
>> ----------------------------------------------------------------------
>> Libraries have been installed in:
>>    /usr/local/lib/gambas2
>>
>> 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[4]: Entering directory `/home/jj/Desktop/trunk/gb.desktop/src'
>> Compiling the gb.desktop project...
>> gb.desktop
>> OK
>>
>> Creating the information files for gb.desktop component...
>> gb.desktop
>>
>> make[4]: Leaving directory `/home/jj/Desktop/trunk/gb.desktop/src'
>> make[3]: Leaving directory `/home/jj/Desktop/trunk/gb.desktop/src'
>> make[2]: Leaving directory `/home/jj/Desktop/trunk/gb.desktop/src'
>> make[2]: Entering directory `/home/jj/Desktop/trunk/gb.desktop'
>> make[3]: Entering directory `/home/jj/Desktop/trunk/gb.desktop'
>> make[3]: No se hace nada para `install-exec-am'.
>> make[3]: No se hace nada para `install-data-am'.
>> make[3]: Leaving directory `/home/jj/Desktop/trunk/gb.desktop'
>> make[2]: Leaving directory `/home/jj/Desktop/trunk/gb.desktop'
>> make[1]: Leaving directory `/home/jj/Desktop/trunk/gb.desktop'
>> Making install in comp
>> make[1]: Entering directory `/home/jj/Desktop/trunk/comp'
>> make[2]: Entering directory `/home/jj/Desktop/trunk/comp'
>> Running the informer again because of dependencies between information
>> files gb.net
>> gb.qt.kde
>> gb.corba
>> gb.vb
>> gb.xml
>> gb.xml.rpc
>> gb.gui
>> gb.ldap
>> gb.sdl.sound
>> gb.pcre
>> gb.gtk
>> gb.debug
>> gb.qt.kde.html
>> make[2]: *** [install-exec-local] Violación de segmento
>> make[2]: Leaving directory `/home/jj/Desktop/trunk/comp'
>> make[1]: *** [install-am] Error 2
>> make[1]: Leaving directory `/home/jj/Desktop/trunk/comp'
>> make: *** [install-recursive] Error 1
>>
>>
>
> Strange... How did you configure the source? What does it tell you if you do
> by hand 'gbi2 -v'? And 'gbi2 -v -p'?
>
> Regards,
>
> --
> Benoit Minisini
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>







More information about the User mailing list