no encuentro la forma de instalar una descarga en ubuntu (solucionado)

Iniciado por 4rm4ndo, 26 Abril 2011, 19:57 PM

0 Miembros y 1 Visitante están viendo este tema.

4rm4ndo

ok ... como en msdos. change directory,,, bueno gracias por la ayuda tengo k ir a dormir para levantarme pronto.

Saludos. Armando.
[img]http:

Songoku

Es que compilar un programa no es tan facil, ahora aunque te situes con el terminal en la carpeta del programa a compilar te va a empezar a volver loco con las dependencias. Busca por la red porque seguro tiene que haber un repositorio de ese programa para tu version de ubuntu. Le añades a tu sources.list y ya podras instalarte tranquilamente desde el terminal y o desde el centro de software o desde el synaptic (creo que tu version de ubuntu ya no trae el synaptic pero le puedes instalar). A y un consejo... instalate el ubuntu tweak, te va a facilitar mucho muchas cosas.
Saludos...

Songoku

4rm4ndo

armando@armando-P4i65G:~/Descargas/transmission-2.22$ dir
aclocal.m4    COPYING          m4       third-party
AUTHORS       daemon          macosx       transmission-gtk.spec.in
autogen.sh    depcomp          Makefile.am  Transmission.xcodeproj
ChangeLog     extras          Makefile.in  update-version-h.sh
cli         gtk          missing       utils
config.guess  INSTALL          NEWS       web
config.sub    install-sh       po
configure     libtransmission  qt
configure.ac  ltmain.sh        README
armando@armando-P4i65G:~/Descargas/transmission-2.22$

----------------------------------------------------------------

hasta aqui llego... no se que hacer ahora
[img]http:

leogtz

Bien, fijate que hay un fichero INSTALL, debes leerlo, ahí te dirá los comandos para  instalar.

Regularmente es:
./configure
sudo make
sudo make install


Y listo, pero igual lee el archivo INSTALL:

cat INSTALL | more
Código (perl) [Seleccionar]

(( 1 / 0 )) &> /dev/null || {
echo -e "stderrrrrrrrrrrrrrrrrrr";
}

http://leonardogtzr.wordpress.com/
leogutierrezramirez@gmail.com

4rm4ndo

#14
armando@armando-P4i65G:~/Descargas/transmission-2.22$ sudo make install
make: *** No hay ninguna regla para construir el objetivo «install».  Alto.
armando@armando-P4i65G:~/Descargas/transmission-2.22$

-------------------------------------------------------

Basic Installation
==================

   Briefly, the shell commands `./configure; make; make install' should
configure, build, and install this package.  The following
more-detailed instructions are generic; see the `README' file for
instructions specific to this package.  Some packages provide this
`INSTALL' file but do not implement all of the features documented
below.  The lack of an optional feature in a given package is not
necessarily a bug.  More recommendations for GNU packages can be found
in *note Makefile Conventions: (standards)Makefile Conventions.

------------------------------------------------------------

[img]http:

leogtz

Si te sale eso es que no has tecleado primero "make" a secas.

1.-
sudo ./configure
2.-
sudo make
3.-
sudo make install
Código (perl) [Seleccionar]

(( 1 / 0 )) &> /dev/null || {
echo -e "stderrrrrrrrrrrrrrrrrrr";
}

http://leonardogtzr.wordpress.com/
leogutierrezramirez@gmail.com

4rm4ndo

sudo ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
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 ISO C89... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... gcc -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 dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... 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 if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for gcc... (cached) gcc
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 for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking whether we are using the GNU C++ compiler... (cached) no
checking whether g++ accepts -g... (cached) no
checking dependency style of g++... (cached) none
checking for inline... inline
checking gcc version... 4.4.5
checking for ANSI C header files... (cached) yes
checking whether time.h and sys/time.h may both be included... yes
checking for iconv_open... yes
checking for pread... yes
checking for pwrite... yes
checking for lrintf... no
checking for strlcpy... no
checking for daemon... yes
checking for dirname... yes
checking for basename... yes
checking for strcasecmp... yes
checking for localtime_r... yes
checking for fallocate64... yes
checking for posix_fallocate... yes
checking for memmem... yes
checking for strsep... yes
checking for strtold... yes
checking for syslog... yes
checking for valloc... yes
checking for getpagesize... yes
checking for posix_memalign... yes
checking for statvfs... yes
checking whether make sets $(MAKE)... (cached) yes
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for library containing cos... -lm
checking for library containing socket... none required
checking for library containing gethostbyname... none required
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for OPENSSL... no
checking for OpenSSL... configure: error: Cannot locate ssl
[img]http:

Slava_TZD

#17
Cita de: 4rm4ndo en 28 Abril 2011, 17:50 PM
checking for OPENSSL... no
checking for OpenSSL... configure: error: Cannot locate ssl


En Debian y derivados deberia ser:
solcash:~# apt-get install openssl gcc g++

Luego lo mismo de antes, situado en el directorio correspondiente:


solcash:~# ./configure
solcash:~# make
solcash:~# checkinstall


The fact is, even if you were to stop bombing us, imprisoning us, torturing us, vilifying us, and usurping our lands, we would continue to hate you because our primary reason for hating you will not cease to exist until you embrace Islam.

4rm4ndo

armando@armando-P4i65G:~/Descargas/transmission-2.22$ solcash:~# apt-get install openssl gcc g++
solcash:~#: orden no encontrada
armando@armando-P4i65G:~/Descargas/transmission-2.22$ solcash:~# ./configure
solcash:~#: orden no encontrada
armando@armando-P4i65G:~/Descargas/transmission-2.22$ solcash:~# make
solcash:~#: orden no encontrada
armando@armando-P4i65G:~/Descargas/transmission-2.22$ solcash:~# checkinstall
solcash:~#: orden no encontrada
armando@armando-P4i65G:~/Descargas/transmission-2.22$
[img]http:

leogtz

Para instalar gcc, g++ y demás paquetes básicos, debes teclear esto:

sudo apt-get install build-essential

Ya con eso lo tienes instalado.

Ahora, para instalar openssl, basta con:

sudo apt-get install openssl
Código (perl) [Seleccionar]

(( 1 / 0 )) &> /dev/null || {
echo -e "stderrrrrrrrrrrrrrrrrrr";
}

http://leonardogtzr.wordpress.com/
leogutierrezramirez@gmail.com