Försöker installera tmsnc-0.3.1 - Hjälp!

thomast
Inlägg: 47
Blev medlem: 09 okt 2006, 23:51

Försöker installera tmsnc-0.3.1 - Hjälp!

Inlägg av thomast »

Hej!
Jag har ett litet problem med installation av ett program (Tmsnc). Det här är vad som händer:

Jag börjar med att packa upp och sen går jag in i mappen.

Kod: Markera allt

tt@tt-desktop:~/Desktop/tmsnc-0.3.1$ sudo ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
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 for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... (cached) yes
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for pid_t... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for library containing gethostbyname... none required
checking for socket... yes
checking for pthread_create... no
checking for pthread_create in -lpthread... yes
configure: checking location of ncurses.h file...
Found ncurses on /usr/include/ncurses.h
checking for use_default_colors... yes
checking for resizeterm... yes
checking for resize_term... yes
checking for wadd_wch... no
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for iconv... yes
checking for iconv declaration...
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for openssl... no
configure: error: ssl.h not found in

tt@tt-desktop:~/Desktop/tmsnc-0.3.1$ sudo apt-get install openssl
Läser paketlistor... Färdig
Bygger beroendeträd... Färdig
openssl är redan den senaste versionen.
0 uppgraderade, 0 nyinstallerade, 0 att ta bort och 0 ej uppgraderade.
Är total nybörjare så försök förklara som ni skulle förklara för er farmor.

Behöver ni mer info?
marwal
Inlägg: 517
Blev medlem: 22 maj 2006, 18:45

Försöker installera tmsnc-0.3.1 - Hjälp!

Inlägg av marwal »

(OBS! Detta ska läsas med JÄTTEHÖG röst - det är nämligen så jag talar med min farmor)

Det verkar gå bra fram till openssl.
Kolla om du har openssl i repositoryt.

Kod: Markera allt

apt-cache search openssl | grep openssl
om inte kan du pröva att uppdatera paketdatabasen

Kod: Markera allt

sudo aptitude update
och kolla igen

om du har openssl (vilket du borde ha), installerar du det med

Kod: Markera allt

sudo aptitude install openssl
kör inte ./configure som root

Kod: Markera allt

./configure
make
sudo make install
EDIT: *rodnar* hrm... missade totalt att du redan kollat om openssl är installerat (vilket det var)
thomast
Inlägg: 47
Blev medlem: 09 okt 2006, 23:51

Försöker installera tmsnc-0.3.1 - Hjälp!

Inlägg av thomast »

Kör jag inte som rot får jag bara permission denied.
marwal
Inlägg: 517
Blev medlem: 22 maj 2006, 18:45

Försöker installera tmsnc-0.3.1 - Hjälp!

Inlägg av marwal »

Enligt packages.debian.org är tmsnc 0.3.1-1 beroende av följande paket.

#hurd [hurd-i386]
The GNU Hurd

#[dep] libc0.1 (>= 2.3-1) [kfreebsd-i386]
GNU C Library: Shared libraries

#[dep] libc0.3 (>= 2.3.5-1) [hurd-i386]
GNU C Library: Shared libraries

#[dep] libc6 (>= 2.3.5-1) [not alpha, hurd-i386, ia64, kfreebsd-i386]
GNU C Library: Shared libraries

#[dep] libc6.1 (>= 2.3.5-1) [alpha, ia64]
GNU C Library: Shared libraries

#[dep] libncurses5 (>= 5.4-5)
Shared libraries for terminal handling

#[dep] libssl0.9.8 [arm]
SSL shared libraries
libssl0.9.8 (>= 0.9.8a-1) [not arm]

Kolla att du har de paketen och i samma (eller högre) version.
installera annars.
marwal
Inlägg: 517
Blev medlem: 22 maj 2006, 18:45

Försöker installera tmsnc-0.3.1 - Hjälp!

Inlägg av marwal »

[quote="thomast"]Kör jag inte som rot får jag bara permission denied.[/quote]
vem är ägare till katalogen / filerna?

Kod: Markera allt

ls -al
marwal
Inlägg: 517
Blev medlem: 22 maj 2006, 18:45

Försöker installera tmsnc-0.3.1 - Hjälp!

Inlägg av marwal »

tmsnc ligger för övrigt i repot (i alla fall på min maskin)

Kod: Markera allt

sudo aptitude install tmsnc
thomast
Inlägg: 47
Blev medlem: 09 okt 2006, 23:51

Försöker installera tmsnc-0.3.1 - Hjälp!

Inlägg av thomast »

Kod: Markera allt

tt@tt-desktop:~/Desktop/tmsnc-0.3.1$ ls -al
totalt 552
drwxr-xr-x 6  501  501   4096 2006-10-11 12:11 .
drwxr-xr-x 8 tt   tt     4096 2006-10-11 01:28 ..
-rw-r--r-- 1  501  501  71822 2005-11-23 08:14 aclocal.m4
-rw-r--r-- 1  501  501    121 2005-11-23 08:25 AUTHORS
-rwxr-xr-x 1  501  501    122 2005-11-23 08:14 autogen.sh
drwxr-xr-x 2  501  501   4096 2005-11-23 08:35 autopackage
-rw-r--r-- 1  501  501   6225 2005-11-23 08:24 ChangeLog
-rwxr-xr-x 1  501  501  43332 2005-11-23 08:14 config.guess
-rw-r--r-- 1 root root  22515 2006-10-11 12:11 config.log
-rwxr-xr-x 1  501  501  14869 2005-11-23 08:14 config.rpath
-rwxr-xr-x 1  501  501  31307 2005-11-23 08:14 config.sub
-rwxr-xr-x 1  501  501 218241 2005-11-23 08:14 configure
-rw-r--r-- 1  501  501   2568 2005-11-23 08:14 configure.in
-rw-r--r-- 1  501  501   2179 2005-11-23 08:14 COPYING
-rwxr-xr-x 1  501  501  15868 2005-11-23 08:14 depcomp
drwxr-xr-x 2  501  501   4096 2005-11-23 08:35 doc
-rwxr-xr-x 1  501  501    129 2005-11-23 08:14 indent.sh
-rw-r--r-- 1  501  501   9240 2005-11-23 08:14 INSTALL
-rwxr-xr-x 1  501  501   5569 2005-11-23 08:14 install-sh
drwxr-xr-x 2  501  501   4096 2005-11-23 08:35 m4
-rw-r--r-- 1  501  501    145 2005-11-23 08:14 Makefile.am
-rw-r--r-- 1  501  501  18509 2005-11-23 08:14 Makefile.in
-rwxr-xr-x 1  501  501  10872 2005-11-23 08:14 missing
-rwxr-xr-x 1  501  501   3421 2005-11-23 08:14 mkinstalldirs
-rw-r--r-- 1  501  501     55 2005-11-23 08:14 NEWS
-rw-r--r-- 1  501  501   1050 2005-11-23 08:24 README
drwxr-xr-x 2  501  501   4096 2005-11-23 08:35 src
-rw-r--r-- 1  501  501      6 2005-11-23 08:14 VERSION

Kod: Markera allt

tt@tt-desktop:~/Desktop/tmsnc-0.3.1$ sudo aptitude install tmsnc
Läser paketlistor... Färdig
Bygger beroendeträd... Färdig
Läser utökad statusinformation
Initierar paketstatus... Färdig
Bygger taggdatabas... Färdig
Följande NYA paket kommer att installeras:
  tmsnc
0 paket uppgraderade, 1 nya installerades. 0 att tas bort och 0 inte uppgraderade.
Behöver hämta 44,8kB arkiv. Efter uppackning kommer 160kB att användas.
Skriver utökad statusinformation... Färdig
Läs:1 http://archive.ubuntu.com dapper/universe tmsnc 0.3.1-1 [44,8kB]
Hämtade 44,8kB på 0s (76,7kB/s)
Väljer tidigare ej valt paket tmsnc.
(Läser databasen ... 87779 filer och kataloger installerade.)
Packar upp tmsnc (från .../tmsnc_0.3.1-1_i386.deb) ...
Ställer in tmsnc (0.3.1-1) ...
Yey, ska testa om det fungerar när jag kommer hem från en liten joggingrunda.
thomast
Inlägg: 47
Blev medlem: 09 okt 2006, 23:51

Försöker installera tmsnc-0.3.1 - Hjälp!

Inlägg av thomast »

Yes, det verkar fungera! :) TACK!
Skriv svar

Återgå till "Program - inaktuell"