Autore Topic: gb.desktop  (Letto 2001 volte)

Offline fsurfing

  • Moderatore
  • Senatore Gambero
  • *****
  • Post: 2.484
    • Mostra profilo
gb.desktop
« il: 04 Aprile 2008, 20:43:54 »
Aiutoooooooooooooo!!! non riesco non riesco proprio a capire cosa manchi durante la compilazione dei sorgenti di gambas  
al termine di configure ottengo:

Codice: [Seleziona]
************************************************************

THESE COMPONENTS ARE DISABLED:

- gb.desktop
- gb.qte

************************************************************


ok gb.qte non serve

ma senza gb.desktop gambas non mi parte!

ho installato tutte le dipendenze  indicate da pixel

Offline fsurfing

  • Moderatore
  • Senatore Gambero
  • *****
  • Post: 2.484
    • Mostra profilo
Re: gb.desktop
« Risposta #1 il: 04 Aprile 2008, 21:06:12 »
lo stralcio di configure incriminato :

Codice: [Seleziona]
=== configuring in gb.desktop (/home/sergio/gambas2-2.5.0/gb.desktop)
configure: running /bin/bash ./configure '--prefix=/usr/local'  --cache-file=../config.cache --srcdir=.
configure: loading cache ../config.cache
checking for a BSD-compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p
checking for gawk... (cached) gawk
checking whether make sets $(MAKE)... (cached) yes
checking build system type... (cached) i686-pc-linux-gnu
checking for style of include used by make... GNU
checking whether to enable maintainer-specific portions of Makefiles... no
checking host system type... (cached) i686-pc-linux-gnu
checking for gcc... (cached) gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... (cached) o
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... (cached) gcc -E
checking for g++... (cached) g++
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for setenv... (cached) yes
checking for unsetenv... (cached) yes
checking for getdomainname... (cached) yes
checking for getpt... (cached) yes
checking for ccache... no
checking for main in -lm... (cached) yes
checking for main in -lz... (cached) yes
checking for main in -lgcc_s... (cached) yes
checking for main in -lstdc++... (cached) yes
checking target system... LINUX
checking which extension is used for shared libraries... .so
checking for threading compiler options... -D_REENTRANT
checking for threading linker options... -lpthread
checking for mathematic libraries... -lm
checking for external gettext library...
checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden
checking for a sed that does not truncate output... (cached) /bin/sed
checking for grep that handles long lines and -e... (cached) /bin/grep
checking for egrep... (cached) /bin/grep -E
checking for ld used by gcc... (cached) /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes
checking for /usr/bin/ld option to reload object files... (cached) -r
checking for BSD-compatible nm... (cached) /usr/bin/nm -B
checking how to recognize dependent libraries... (cached) pass_all
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking for dlfcn.h... (cached) yes
checking how to run the C++ preprocessor... (cached) g++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... (cached) no
checking whether  accepts -g... (cached) no
checking the maximum length of command line arguments... (cached) 98304
checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok
checking for objdir... (cached) .libs
checking for ar... (cached) ar
checking for ranlib... (cached) ranlib
checking for strip... (cached) strip
checking if gcc supports -fno-rtti -fno-exceptions... (cached) no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for shl_load... (cached) no
checking for shl_load in -ldld... (cached) no
checking for dlopen... (cached) no
checking for dlopen in -ldl... (cached) yes
checking whether a program can dlopen itself... (cached) yes
checking whether a statically linked program can dlopen itself... (cached) no
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... (cached) /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking for X... (cached) libraries , headers
checking for gethostbyname... (cached) yes
checking for connect... (cached) yes
checking for remove... (cached) yes
checking for shmat... (cached) yes
checking for IceConnectionNumber in -lICE... (cached) yes
checking for XTestQueryExtension in -lXtst... (cached) no
configure: WARNING: *** Desktop-neutral routines is disabled


libxtst-dev   e  libxtst   sono installate

Offline giulio

  • Maestro Gambero
  • ****
  • Post: 280
    • Mostra profilo
Re: gb.desktop
« Risposta #2 il: 04 Aprile 2008, 22:13:12 »
E' un vecchio problema. Che sistema hai e se fai
locate  libXtst.so

cosa ti dice, cioè dov'è il file libXtst.so?

io risolvevo con questi comandi per configurare:

export LDFLAGS="-L/usr/X11R6/lib"
./configure

e tutto andava a posto.

ciao.

Offline fsurfing

  • Moderatore
  • Senatore Gambero
  • *****
  • Post: 2.484
    • Mostra profilo
Re: gb.desktop
« Risposta #3 il: 04 Aprile 2008, 22:29:17 »
grazie giuglio !!!!!!!!!!!!!!!!!!!

avevi ragione infatti:
Codice: [Seleziona]
sergio@pc-sergio:~$ locate libXtst.so
/usr/lib/libXtst.so.6
/usr/lib/libXtst.so.6.1.0



risolto tutto!

grazie ancora! :evviva:

Offline leo72

  • Amministratore
  • Senatore Gambero
  • *****
  • Post: 2.163
    • Mostra profilo
    • http://www.leonardomiliani.com
Re: gb.desktop
« Risposta #4 il: 05 Aprile 2008, 07:08:22 »
Scusa, ma che versione usi?
Con la 2.5.0 dovrebbe essere stato risolto proprio il problema dell'allocazione delle librerie X.
Visita il mio sito personale: http://www.leonardomiliani.com

g.paolo

  • Visitatore
Re: gb.desktop
« Risposta #5 il: 05 Aprile 2008, 12:00:38 »
@leo72
Penso proprio che non sia stato ancora risolto.
Io ci ho provato ieri ad installare la 2.5.0 su Ubuntu 7.10, e mi ha dato una bella lista di moduli disattivati.

Offline leo72

  • Amministratore
  • Senatore Gambero
  • *****
  • Post: 2.163
    • Mostra profilo
    • http://www.leonardomiliani.com
Re: gb.desktop
« Risposta #6 il: 05 Aprile 2008, 13:21:45 »
Il changelog ufficiale della 2.5.0 recita
Citazione

BUG: Support for X11 libraries not installed in the default library paths.


Inoltre, posso dirti che ho compilato Gambas 2.5.0 proprio ieri mattina su Ubuntu 7.10 a lavoro senza problemi.
Visita il mio sito personale: http://www.leonardomiliani.com

Offline fsurfing

  • Moderatore
  • Senatore Gambero
  • *****
  • Post: 2.484
    • Mostra profilo
Re: gb.desktop
« Risposta #7 il: 05 Aprile 2008, 14:21:44 »
stavo installando la 2.5.0

ora provo a compilarla anche sul portatile


tra l'altro ne fisso con ubuntu 7.10 gambas 2.5 mi da alcuni problemi che con 2.4.1 non c'erano:

avviando ad esempio un mio programma (feabar) mi appare un messaggio di errore che mi indica che non possono essere caricate le librerie gb.image che sono compialate correttamente e selezionate come componenti nel progetto !

Offline fsurfing

  • Moderatore
  • Senatore Gambero
  • *****
  • Post: 2.484
    • Mostra profilo
Re: gb.desktop
« Risposta #8 il: 05 Aprile 2008, 14:28:12 »
ho compilato gambas 2.5 sul portatile ed è andato tutto bene con le librerie
libxtst6 anche se erano in /usr/lib/