Hej,
Jag har en hp49+ miniräknare som jag vill överföra filer till. Jag hittade ett program:
http://www.hpcalc.org/hp48/pc/link/hptalx-1.3.0.tar.gz
på hpcalc.orgs hemsida. nu fattar jag inte hur jag ska köra det. Någon som har erfarenhet av detta program eller liknande? Jag har läst install och read me filerna och försökt följa instruktionenerna men blir inte klok på det.
Till exempel, det första steget i installations filen är följande:
The simplest way to compile this package is:
1. `cd' to the directory containing the package's source code and type
`./configure' to configure the package for your system. If you're
using `csh' on an old version of System V, you might need to type
`sh ./configure' instead to prevent `csh' from trying to execute
`configure' itself.
Running `configure' takes awhile. While running, it prints some
messages telling which features it is checking for.
Jag följer detta steg och får då dessa meddelanden:
mats@mats-laptop:~/Desktop/hptalx-1.3.0$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... yes
checking for working aclocal-1.4... missing
checking for working autoconf... missing
checking for working automake-1.4... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
mats@mats-laptop:~/Desktop/hptalx-1.3.0$ sh ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... yes
checking for working aclocal-1.4... missing
checking for working autoconf... missing
checking for working automake-1.4... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
Hoppas detta kan vara en ledtråd för någon att mumsa sig i.
Mvh
överföring av filer till hp49+
- DeepThought
- Inlägg: 2769
- Blev medlem: 19 dec 2006, 11:07
- OS: Arch Linux
- Ort: Göteborg
SV: överföring av filer till hp49+
Testa att installera paketet build-essential först, om du inte har det installerat. Det är ett meta-paket som innehåller de flesta vanliga paket som behövs för kompilering 

WE WILL ALWAYS BE SO MUCH MORE HUMAN THAN WE WISH TO BE...
- Dimi
- Inlägg: 703
- Blev medlem: 24 dec 2006, 00:04
- OS: Ubuntu
- Utgåva: Vet inte/ingen utgåva passar
- Ort: Stockholm
SV: överföring av filer till hp49+
Happ nu blir det lite annorlunda. Nu kommer följande medelande:
mats@mats-laptop:~/Desktop/hptalx-1.3.0$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... yes
checking for working aclocal-1.4... missing
checking for working autoconf... missing
checking for working automake-1.4... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking for gcc... 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... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
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 ranlib... ranlib
checking for kermit... ./configure: line 2998: error:: command not found
no
checking for pkg-config... /usr/bin/pkg-config
checking for GLIB - version >= 2.4.0... no
*** Could not run GLIB test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GLIB is incorrectly installed.
configure: error: glib not found
jag kollade då i synaptic efter glib men hittade inget sådant paket. Så det är fortfarande inga muntra tongångar.
mats@mats-laptop:~/Desktop/hptalx-1.3.0$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... yes
checking for working aclocal-1.4... missing
checking for working autoconf... missing
checking for working automake-1.4... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking for gcc... 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... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
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 ranlib... ranlib
checking for kermit... ./configure: line 2998: error:: command not found
no
checking for pkg-config... /usr/bin/pkg-config
checking for GLIB - version >= 2.4.0... no
*** Could not run GLIB test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GLIB is incorrectly installed.
configure: error: glib not found
jag kollade då i synaptic efter glib men hittade inget sådant paket. Så det är fortfarande inga muntra tongångar.
-
- Inlägg: 6191
- Blev medlem: 14 jan 2007, 19:31
- OS: Ubuntu
- Utgåva: 22.10 Kinetic Kudu
- Ort: Stockholm
SV: överföring av filer till hp49+
Alla biliotekspaket börjar med lib, så GLIB kallas helt logiskt för libglib
Installera alltså libglib2.0-dev

- Dimi
- Inlägg: 703
- Blev medlem: 24 dec 2006, 00:04
- OS: Ubuntu
- Utgåva: Vet inte/ingen utgåva passar
- Ort: Stockholm
SV: överföring av filer till hp49+
Alltså ursäkta om jag uppträder som en mupp som inte fattar eller kan något, Men faktum är nog att jag inte gör det i avseende på det här. Så det kommer nog fortsätta att hagla in fler sådana frågor tills dess att jag fått detta att lira.
Nu fick jag följande info:
checking for GLIB - version >= 2.4.0... yes (version 2.12.11)
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for GTK+ - version >= 2.4.0... no
*** Could not run GTK+ test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GTK+ is incorrectly installed.
configure: error: gtk not found
mats@mats-laptop:~/Desktop/hptalx-1.3.0$
alltså kollar jag efter paketet GTK+, gtk fanns det hur mycket som helst av och då vet jag inte vad jag ska välja, gtk+ fanns inte alls som paket och är då sedemera svår valt.
Nu fick jag följande info:
checking for GLIB - version >= 2.4.0... yes (version 2.12.11)
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for GTK+ - version >= 2.4.0... no
*** Could not run GTK+ test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GTK+ is incorrectly installed.
configure: error: gtk not found
mats@mats-laptop:~/Desktop/hptalx-1.3.0$
alltså kollar jag efter paketet GTK+, gtk fanns det hur mycket som helst av och då vet jag inte vad jag ska välja, gtk+ fanns inte alls som paket och är då sedemera svår valt.
-
- Inlägg: 6191
- Blev medlem: 14 jan 2007, 19:31
- OS: Ubuntu
- Utgåva: 22.10 Kinetic Kudu
- Ort: Stockholm
SV: överföring av filer till hp49+
Det är nästan alltid bibliotek (libbar) som saknas när man kör ./configure, så sök på libgtk. Dessutom så är det -dev-paketet som man ska installera. Det finns två möjliga paket libgtk1.2-dev och libgtk2.0-dev. Configure vill ha version > 2.4.0 och libgtk2.0-dev har versionsnummer 2.10.11 så det borde vara ok. Klart som korvspad eller hur? 
