[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Como tener un binario sin falta de nada externo



El jue, 17-03-2011 a las 15:04 -0300, Gonzalo Rivero escribió:
> El jue, 17-03-2011 a las 18:50 +0100, Jesús Genicio escribió: 
> > El jue, 17-03-2011 a las 14:11 -0300, Gonzalo Rivero escribió:
> > > El jue, 17-03-2011 a las 17:56 +0100, Jesús Genicio escribió: 
> > > > Hola:
> > > > 
> > > > La cuestión es que tengo un alojamiento web contratado, pero no tiene
> > > > instalados varios programas que necesito, entre ello gnuplot para hacer
> > > > gráficas de, entre otras cosas la cotización del dolar a 2 semanas.
> > > > 
> > > > Quisiera que me indicaseis si es posible tener un binario compilado en
> > > > el servidor, al cual accedo através de ssh, y que me genere dichas
> > > > gráficas. ¿Es esto posible.?
> > > > 
> > > > O bien compilarlo en casa y enviarlo a al servidor....
> > > 
> > > podés copiarlo con scp (si tenés acceso ssh, no necesitás configurar
> > > nada mas, al menos en principio), y ver si funciona o se queja que no
> > > encuentra algo.so (alguna librería).
> > 
> > Me da este error:
> > gnuplot: error while loading shared libraries:
> > libwx_gtk2u_core-2.8.so.0: cannot open shared object file: No such file
> > or directory
> > 
> si entendí bien tu mensaje inicial, lo vas a usar de forma no
> interactiva, y creería que wxwindows lo usa para la parte interactiva
> del asunto.
> Seguramente hay alguna opción --without-libwx-gtk... o enable/disable.
> Otra vez: ./configure --help para ver que podés hacer

Ya lo he solucionado, he compilado según me comentó Camaleón
<noelamac@gmail.com> seguiendo lo que dice en la página de gnuplot
http://www.gnuplot.info/faq/faq.html#SECTION00044000000000000000

y ha funcionado bien :))

(uiserver):u62524833:~/Dolar > $HOME/usr/bin/gnuplot

	G N U P L O T
	Version 4.4 patchlevel 3
	last modified March 2011
	System: Linux
2.6.28.8-20101130b-iscsi-ntacker-fasync-mremap-amd-sec6-grsec

	Copyright (C) 1986-1993, 1998, 2004, 2007-2010
	Thomas Williams, Colin Kelley and many others

	gnuplot home:     http://www.gnuplot.info
	faq, bugs, etc:   type "help seeking-assistance"
	immediate help:   type "help"
	plot window:      hit 'h'

Aquí está un ejemplo:

http://rapidshare.com/files/453040071/dolar.png

Lo dicho muuchas gracias. :))

S2.
> 
> > > Si se queja, tendrías que compilarlo como estático (seguro en
> > > el ./configure --help te dice cual es la opción), de forma que incluya
> > > todas las librerías dentro del binario. Claro que vas a tener un
> > > ejecutable gordo.
> > > 
> > Ya lo he intentado compilar con -prefix=$HOME/usr y me tira este error
> > (uiserver):u62524833:~/usr/share/gnuplot/4.4/app-defaults > ./Gnuplot 
> > X: unable to open wrapper config file /etc/X11/Xwrapper.config
> > X: cannot stat /etc/X11/X (No such file or directory), aborting.
> > ./Gnuplot: line 2: More: command not found
> > ./Gnuplot: line 3: From: command not found
> > ./Gnuplot: line 5: User: command not found
> > ./Gnuplot: line 6: gnuplot*exportselection:: command not found
> > ./Gnuplot: line 7: gnuplot*fastrotate:: command not found
> > ./Gnuplot: line 8: gnuplot*feedback:: command not found
> > ./Gnuplot: line 9: gnuplot*ctrlq:: command not found
> > ./Gnuplot: line 10: gnuplot*persist:: command not found
> > ./Gnuplot: line 11: gnuplot*raise:: command not found
> > ./Gnuplot: line 12: gnuplot*dashed:: command not found
> > ./Gnuplot: line 14: Default: command not found
> > ./Gnuplot: line 15: gnuplot*font:: command not found
> > ./Gnuplot: line 16: gnuplot*encoding:: command not found
> > ./Gnuplot: line 18: Default: command not found
> > ./Gnuplot: line 19: gnuplot*background:: command not found
> > ./Gnuplot: line 20: gnuplot*textColor:: command not found
> > ./Gnuplot: line 21: gnuplot*borderColor:: command not found
> > ./Gnuplot: line 22: gnuplot*axisColor:: command not found
> > ./Gnuplot: line 23: gnuplot*line1Color:: command not found
> > ./Gnuplot: line 24: gnuplot*line2Color:: command not found
> > ./Gnuplot: line 25: gnuplot*line3Color:: command not found
> > ./Gnuplot: line 26: gnuplot*line4Color:: command not found
> > ./Gnuplot: line 27: gnuplot*line5Color:: command not found
> > ./Gnuplot: line 28: gnuplot*line6Color:: command not found
> > ./Gnuplot: line 29: gnuplot*line7Color:: command not found
> > ./Gnuplot: line 30: gnuplot*line8Color:: command not found
> > ./Gnuplot: line 32: Default: command not found
> > ./Gnuplot: line 33: gnuplot*axisWidth:: command not found
> > ./Gnuplot: line 34: gnuplot*borderWidth:: command not found
> > ./Gnuplot: line 35: gnuplot*line1Width:: command not found
> > ./Gnuplot: line 36: gnuplot*line2Width:: command not found
> > ./Gnuplot: line 37: gnuplot*line3Width:: command not found
> > ./Gnuplot: line 38: gnuplot*line4Width:: command not found
> > ./Gnuplot: line 39: gnuplot*line5Width:: command not found
> > ./Gnuplot: line 40: gnuplot*line6Width:: command not found
> > ./Gnuplot: line 41: gnuplot*line7Width:: command not found
> > ./Gnuplot: line 42: gnuplot*line8Width:: command not found
> > ./Gnuplot: line 44: Default: command not found
> > ./Gnuplot: line 45: gnuplot*pointsize:: command not found
> > ./Gnuplot: line 47: Default: command not found
> > ./Gnuplot: line 48: 0: command not found
> > ./Gnuplot: line 49: jk: command not found
> > ./Gnuplot: line 49: A: command not found
> > ./Gnuplot: line 50: j: command not found
> > ./Gnuplot: line 50: k: command not found
> > ./Gnuplot: line 50: pixels: command not found
> > 
> > ¿?
> > 
> > S2
> > 
> > 
> 
> 
> 
> 
> 



Reply to: