Hola, Tinc la intenció de traduir l'xsane al català però no se pas com compilar-lo per anar anar veient el resultat de la traducció. Segueixo el que ha escrit el creador al fitxer README dins la carpeta po però no em funciona, em peta quan faig el 'sudo make install' (en el meu cas 'sudo checkinstall'). El meu sistema operatiu es ubuntu breezy i els missatges son aquests:
quan faig './configure' al final em retorna això:
checking for png_create_info_struct in -lpng... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating intl/Makefile
config.status: creating po/Makefile
config.status: creating lib/Makefile
config.status: creating src/Makefile
config.status: creating include/Makefile
config.status: creating doc/Makefile
config.status: creating xsane.spec
config.status: creating include/config.h
config.status: include/config.h is unchanged
****************************************************************
* *
* XSANE configure status: *
* ----------------------- *
* - NLS activated (external) *
* - GIMP plugin deactivated *
* - JPEG support activated *
* - TIFF support deactivated *
* - PNG support activated *
* *
****************************************************************
* *
* To compile XSANE: *
* ----------------- *
* make *
* make install *
* *
* ------------------------------------------------------------ *
* ... PLEASE READ SANE DOCUMENTATION BEFORE STARTING XSANE ... *
* ------------------------------------------------------------ *
****************************************************************
NEWS:
Due to changes in the configuration file routines
you have to enter some data in preferences->setup.
In general there is nothing special you have to care
about to get xsane to work.
Read xsane.CHANGES if you are interested in details of
what has changed.
If you experience any problems after you upgraded xsane
it may help to remove the setup and preferences files
of xsane:
rm -rf ~/.sane/xsane
[EMAIL PROTECTED]:~/Desktop/xsane/xsane-0.991$
---------------------------------------------------------------------
quan faig 'make' al final em retorna això:
gcc -L/usr/lib -o xsane xsane-back-gtk.o xsane-front-gtk.o
xsane-gamma.o xsane-preview.o xsane-viewer.o xsane-fax-project.o
xsane-email-project.o xsane-multipage-project.o xsane-rc-io.o
xsane-device-preferences.o xsane-batch-scan.o xsane-preferences.o
xsane-setup.o xsane-save.o xsane-scan.o xsane-icons.o xsane.o \
../lib/liblib.a -lsane -lusb -lnsl -lm -ljpeg -lieee1284 -ldl
-lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm
-lpangocairo-1.0 -lfontconfig -lXinerama -lXi -lXrandr -lXext -lXcursor
-lXfixes -lpango-1.0 -lcairo -lXrender -lX11 -lgobject-2.0 -lgmodule-2.0
-ldl -lglib-2.0 -lpng -ljpeg -lz -lm -lgtk-x11-2.0 -lgdk-x11-2.0
-latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lfontconfig -lXinerama
-lXi -lXrandr -lXext -lXcursor -lXfixes -lpango-1.0 -lcairo -lXrender
-lX11 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
make[1]: Leaving directory `/home/jordi/Desktop/xsane/xsane-0.991/src'
making all in po
make[1]: Entering directory `/home/jordi/Desktop/xsane/xsane-0.991/po'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/jordi/Desktop/xsane/xsane-0.991/po'
making all in doc
make[1]: Entering directory `/home/jordi/Desktop/xsane/xsane-0.991/doc'
sed -e 's|@DATADIR@|/usr/local/share|g' \
-e 's|@SANEDATADIR@|/usr/local/share/sane|g' \
-e 's|@CONFIGDIR@|/usr/local/etc/sane.d|g' \
-e 's|@LIBDIR@|/usr/local/lib|g' \
-e 's|@BINDIR@|/usr/local/bin|g' \
-e 's|@SBINDIR@|/usr/local/sbin|g' xsane.man >xsane.1
make[1]: Leaving directory `/home/jordi/Desktop/xsane/xsane-0.991/doc'
[EMAIL PROTECTED]:~/Desktop/xsane/xsane-0.991$
---------------------------------------------------------------------
i quan faig 'sudo checkinstall' al final em retorna això:
installing sl.gmo as /usr/local/share/locale/sl/LC_MESSAGES/xsane.mo
installing sr.gmo as /usr/local/share/locale/sr/LC_MESSAGES/xsane.mo
installing sv.gmo as /usr/local/share/locale/sv/LC_MESSAGES/xsane.mo
installing vi.gmo as /usr/local/share/locale/vi/LC_MESSAGES/xsane.mo
installing tr.gmo as /usr/local/share/locale/tr/LC_MESSAGES/xsane.mo
installing zh.gmo as /usr/local/share/locale/zh/LC_MESSAGES/xsane.mo
make[1]: Leaving directory `/home/jordi/Desktop/xsane/xsane-0.991/po'
making install in doc
make[1]: Entering directory `/home/jordi/Desktop/xsane/xsane-0.991/doc'
../mkinstalldirs /usr/local/man/man1
mkdir /usr/local/man
mkdir /usr/local/man/man1
make[1]: *** [install] Error 1
make[1]: Leaving directory `/home/jordi/Desktop/xsane/xsane-0.991/doc'
make: *** [install-recursive] Error 1
**** Installation failed. Aborting package creation.
Restoring overwritten files from backup...OK
Cleaning up...OK
Bye.
[EMAIL PROTECTED]:~/Desktop/xsane/xsane-0.991$
---------------------------------------------------------------------
Doncs això, si algú em pot dir que he de fer per compilar-lo
correctament, estaré molt agraït.
Adéu,
Epíleg.
smime.p7s
Description: S/MIME Cryptographic Signature
