Se puede usar rpm en sabayon?

Conversaciones generales alrededor Sabayon Linux

Moderator: Moderators

User avatar
Fitzcarraldo
Sagely Hen
Posts: 8116
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom
Contact:

Re: Se puede usar rpm en sabayon?

Post by Fitzcarraldo » Sat Jan 26, 2008 12:04

Envíeme tu dirección de correo electrónico por mensaje privado (PM) del foro y yo te enviara el popt-1.7.tar.gz (561,1 kb).

homar
Young Hen
Posts: 32
Joined: Sun Jan 13, 2008 3:31
Location: Mixco, Guatemala

tengo problemas con el cnijfilter-common-src

Post by homar » Thu Jan 31, 2008 2:11

Fitzcarraldo cuando le doy ebuild del cnijfilter trató de bajar el cnijfilter-common.src pero no bajo asi que lo descarge del servidor de australia de canon y lo puse en el directorio /usr/portage/distfiles pero al darle nevamente al ebuild siempre trata de bajarlo y no lo encuentra en el portage/distfiles o yo no entendi donde debo ponerlo Gracias de antemano, perdon por no postear pero estaba un poco ocupado.

User avatar
tuxtor
Simple Hen
Posts: 96
Joined: Sat Mar 24, 2007 9:08
Location: Guatemala
Contact:

Re: Se puede usar rpm en sabayon?

Post by tuxtor » Thu Jan 31, 2008 9:41

Jajaja, hasta donde paro mi blog, como todos te informaron la fisolofia gentoo es compila tu mismo.

Lo que yo hice fue un metodo alternativo para instalar en este caso la canon ip1000, porque para bien o para mal llevo ya varios años con la misma impresora y necesitaba documentos con relativa calidad pero canon lastimosamente solo da rpm's precompilados.

Para esto necesitas el paquete rpm, que se encuentra en portage:

app-arch/rpm
Latest version available: 4.4.6-r4
Latest version installed: 4.4.6-r4
Size of files: 16,755 kB
Homepage: http://www.rpm.org/
Description: Red Hat Package Management Utils
License: GPL-2 LGPL-2
Vive en un mundo libre, vive en la comunidad linux

User avatar
Fitzcarraldo
Sagely Hen
Posts: 8116
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom
Contact:

Re: Se puede usar rpm en sabayon?

Post by Fitzcarraldo » Thu Jan 31, 2008 16:31

homar,

Es fácil. Véase más abajo para los comandos exactos (yo había copiado los ficheros .ebuild, .src.rpm, .patch y .tar.gz a mi PC en el directorio /home/fitzcarraldo/Linux/Sabayon_Linux/Canon/).

Por supuesto, en su caso, el comando final sería USE="ip1800" emerge -v cnijfilter y no USE="mp510" emerge -v cnijfilter.

[email protected] ~ $ su
Password:

localhost fitzcarraldo # gedit /etc/make.conf

localhost fitzcarraldo # mkdir -p /usr/local/portage/app-emulation/emul-linux-x86-bjdeps/

localhost fitzcarraldo # mkdir -p /usr/local/portage/net-print/cnijfilter/

localhost fitzcarraldo # cp /home/fitzcarraldo/Linux/Sabayon_Linux/Canon/emul-linux-x86-bjdeps-0.1-r1.ebuild /usr/local/portage/app-emulation/emul-linux-x86-bjdeps/

localhost fitzcarraldo # cp /home/fitzcarraldo/Linux/Sabayon_Linux/Canon/popt-1.7.tar.gz /usr/portage/distfiles/popt-1.7.tar.gz

localhost fitzcarraldo # ebuild /usr/local/portage/app-emulation/emul-linux-x86-bjdeps/emul-linux-x86-bjdeps-0.1-r1.ebuild manifest
>>> Creating Manifest for /usr/local/portage/app-emulation/emul-linux-x86-bjdeps

localhost fitzcarraldo # cp /home/fitzcarraldo/Linux/Sabayon_Linux/Canon/popt-1.7-missing-tests.patch /usr/local/portage/app-emulation/emul-linux-x86-bjdeps/files/

localhost fitzcarraldo # cp /home/fitzcarraldo/Linux/Sabayon_Linux/Canon/popt-1.7-nls.patch /usr/local/portage/app-emulation/emul-linux-x86-bjdeps/files/

localhost fitzcarraldo # ebuild /usr/local/portage/app-emulation/emul-linux-x86-bjdeps/emul-linux-x86-bjdeps-0.1-r1.ebuild manifest
>>> Creating Manifest for /usr/local/portage/app-emulation/emul-linux-x86-bjdeps

localhost fitzcarraldo # cp /home/fitzcarraldo/Linux/Sabayon_Linux/Canon/cnijfilter-2.70.ebuild /usr/local/portage/net-print/cnijfilter/

localhost fitzcarraldo # cp /home/fitzcarraldo/Linux/Sabayon_Linux/Canon/cnijfilter-common-2.70-1.src.rpm /usr/portage/distfiles/cnijfilter-common-2.70-1.src.rpm

localhost fitzcarraldo # ebuild /usr/local/portage/net-print/cnijfilter/cnijfilter-2.70.ebuild manifest
>>> Creating Manifest for /usr/local/portage/net-print/cnijfilter

localhost fitzcarraldo # emerge -1v emul-linux-x86-bjdeps

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild N ] app-emulation/emul-linux-x86-bjdeps-0.1-r1 0 kB [1]

Total: 1 package (1 new), Size of downloads: 0 kB
Portage tree and overlays:
[0] /usr/portage
[1] /usr/local/portage

>>> Verifying ebuild Manifests...

>>> Emerging (1 of 1) app-emulation/emul-linux-x86-bjdeps-0.1-r1 to /
* popt-1.7.tar.gz MD5 RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
* checking popt-1.7.tar.gz ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking popt-1.7.tar.gz to /var/tmp/portage/app-emulation/emul-linux-x86-bjdeps-0.1-r1/work
* Applying popt-1.7-missing-tests.patch ... [ ok ]
* Applying popt-1.7-nls.patch ... [ ok ]
* Running automake --add-missing --copy --foreign ... [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/app-emulation/emul-linux-x86-bjdeps-0.1-r1/work/emul-linux-x86-bjdeps-0.1 ...
* econf: updating popt-1.7/config.sub with /usr/share/gnuconfig/config.sub
* econf: updating popt-1.7/config.guess with /usr/share/gnuconfig/config.guess
./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib32 --build=x86_64-pc-linux-gnu
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
.
.
.
.
x86_64-pc-linux-gnu-gcc -Os -march=x86-64 -pipe -Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s -o test2 -static test2.o ./.libs/libpopt.a
x86_64-pc-linux-gnu-gcc -Os -march=x86-64 -pipe -Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s -o test3 -static test3.o ./.libs/libpopt.a
x86_64-pc-linux-gnu-gcc -Os -march=x86-64 -pipe -Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s -o test1 -static test1.o ./.libs/libpopt.a
>>> Source compiled.
>>> Test phase [not enabled]: app-emulation/emul-linux-x86-bjdeps-0.1-r1

>>> Install emul-linux-x86-bjdeps-0.1-r1 into /var/tmp/portage/app-emulation/emul-linux-x86-bjdeps-0.1-r1/image/ category app-emulation
Making install in intl
make[1]: Entering directory `/var/tmp/portage/app-emulation/emul-linux-x86-bjdeps-0.1-r1/work/popt-1.7/intl'
if test "popt" = "gettext" \
&& test '' = 'intl-compat.o'; then \
/bin/sh `case "./mkinstalldirs" in /*) echo "./mkinstalldirs" ;; *) echo ".././mkinstalldirs" ;; esac` /var/tmp/portage/app-emulation/emul-linux-x86-bjdeps-0.1-r1/image//usr/lib32 /var/tmp/portage/app-emulation/emul-linux-x86-bjdeps-0.1-r1/image//usr/include; \
/usr/bin/install -c -m 644 libintl.h /var/tmp/portage/app-emulation/emul-linux-x86-bjdeps-0.1-r1/image//usr/include/libintl.h; \
/bin/sh ../libtool --mode=install \
/usr/bin/install -c -m 644 libintl.a /var/tmp/portage/app-emulation/emul-linux-x86-bjdeps-0.1-r1/image//usr/lib32/libintl.a; \
else \
: ; \
fi
.
.
.
.
make[2]: Leaving directory `/var/tmp/portage/app-emulation/emul-linux-x86-bjdeps-0.1-r1/work/popt-1.7'
make[1]: Leaving directory `/var/tmp/portage/app-emulation/emul-linux-x86-bjdeps-0.1-r1/work/popt-1.7'
removed `/var/tmp/portage/app-emulation/emul-linux-x86-bjdeps-0.1-r1/image//usr/share/man/man3/popt.3'
removed directory: `/var/tmp/portage/app-emulation/emul-linux-x86-bjdeps-0.1-r1/image//usr/share/man/man3'
removed directory: `/var/tmp/portage/app-emulation/emul-linux-x86-bjdeps-0.1-r1/image//usr/share/man'
removed directory: `/var/tmp/portage/app-emulation/emul-linux-x86-bjdeps-0.1-r1/image//usr/share'
removed `/var/tmp/portage/app-emulation/emul-linux-x86-bjdeps-0.1-r1/image//usr/include/popt.h'
removed directory: `/var/tmp/portage/app-emulation/emul-linux-x86-bjdeps-0.1-r1/image//usr/include'
>>> Completed installing emul-linux-x86-bjdeps-0.1-r1 into /var/tmp/portage/app-emulation/emul-linux-x86-bjdeps-0.1-r1/image/

strip: x86_64-pc-linux-gnu-strip --strip-unneeded -R .comment
usr/lib32/libpopt.so.0.0.0
usr/lib32/libpopt.a
removing executable bit: usr/lib32/libpopt.la
* checking 5 files for package collisions
>>> Merging app-emulation/emul-linux-x86-bjdeps-0.1-r1 to /
--- /usr/
--- /usr/lib32/
>>> /usr/lib32/libpopt.a
>>> /usr/lib32/libpopt.so.0.0.0
>>> /usr/lib32/libpopt.la
>>> /usr/lib32/libpopt.so.0 -> libpopt.so.0.0.0
>>> /usr/lib32/libpopt.so -> libpopt.so.0.0.0
>>> Regenerating /etc/ld.so.cache...
>>> app-emulation/emul-linux-x86-bjdeps-0.1-r1 merged.

>>> No packages selected for removal by clean
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.
* GNU info directory index is up-to-date.

localhost fitzcarraldo # USE="mp510" emerge -v cnijfilter

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild N ] net-print/cnijfilter-2.70 USE="amd64 mp510 -ip1800 -ip2500 -ip3300 -ip4300 -ip90 -mp160 -mp600 -nocupsdetection -servicetools" 0 kB [1]

Total: 1 package (1 new), Size of downloads: 0 kB
Portage tree and overlays:
[0] /usr/portage
[1] /usr/local/portage

>>> Verifying ebuild Manifests...

>>> Emerging (1 of 1) net-print/cnijfilter-2.70 to /
* cnijfilter-common-2.70-1.src.rpm MD5 RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
* checking cnijfilter-common-2.70-1.src.rpm ;-) ... [ ok ]
*
* USE-flags (description / probably compatible printers)
*
* amd64 (basic support for this architecture - currently without servicetools)
* servicetools (additional monitoring and maintenance software)
* nocupsdetection (this is only useful to create binary packages)
* mp160 mp160
* ip3300 ip3300
* mp510 mp510
* ip4300 ip4300
* mp600 mp600
* ip2500 ip2500series
* ip1800 ip1800series
* ip90 ip90
*
>>> Unpacking source...
>>> Unpacking cnijfilter-common-2.70-1.src.rpm to /var/tmp/portage/net-print/cnijfilter-2.70/work
>>> Unpacking cnijfilter-common-2.70-1.tar.gz to /var/tmp/portage/net-print/cnijfilter-2.70/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/net-print/cnijfilter-2.70/work/cnijfilter-2.70 ...
processing .
Running libtoolize...
You should add the contents of `/usr/share/aclocal/libtool.m4' to `aclocal.m4'.
Running aclocal ...
/usr/share/aclocal/gtkgl.m4:4: warning: underquoted definition of AM_PATH_GTKGL
/usr/share/aclocal/gtkgl.m4:4: run info '(automake)Extending aclocal'
/usr/share/aclocal/gtkgl.m4:4: or see http://sources.redhat.com/automake/auto ... ng-aclocal
Running autoheader...
Running automake --gnu ...
configure.in:2: installing `./missing'
configure.in:2: installing `./install-sh'
bjexec/Makefile.am: installing `./depcomp'
Makefile.am: installing `./INSTALL'
Makefile.am: installing `./COPYING'
Running autoconf ...
Running ./configure --prefix=/usr/local ...
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... gawk
.
.
.
.
make[2]: Leaving directory `/var/tmp/portage/net-print/cnijfilter-2.70/work/cnijfilter-2.70/mp510/cnijfilter/include'
make[1]: Leaving directory `/var/tmp/portage/net-print/cnijfilter-2.70/work/cnijfilter-2.70/mp510/cnijfilter/include'
make[1]: Entering directory `/var/tmp/portage/net-print/cnijfilter-2.70/work/cnijfilter-2.70/mp510/cnijfilter'
make[2]: Entering directory `/var/tmp/portage/net-print/cnijfilter-2.70/work/cnijfilter-2.70/mp510/cnijfilter'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/var/tmp/portage/net-print/cnijfilter-2.70/work/cnijfilter-2.70/mp510/cnijfilter'
make[1]: Leaving directory `/var/tmp/portage/net-print/cnijfilter-2.70/work/cnijfilter-2.70/mp510/cnijfilter'
>>> Completed installing cnijfilter-2.70 into /var/tmp/portage/net-print/cnijfilter-2.70/image/

* QA Notice: Pre-stripped files found:
* /var/tmp/portage/net-print/cnijfilter-2.70/image/usr/local/bin/cifmp510
/var/tmp/portage/net-print/cnijfilter-2.70/image/usr/libexec/cups/filter/pstocanonij
strip: x86_64-pc-linux-gnu-strip --strip-unneeded -R .comment
usr/lib32/libcnbpcnclui293.so.3.3.0
usr/lib32/libcnbpcmcm293.so.6.50.1
usr/lib32/libcnbpcnclbjcmd293.so.3.3.0
usr/lib32/libcnbpess293.so.3.0.9
usr/lib32/libcnbpo293.so.1.0.2
usr/lib32/libcnbpcnclapi293.so.3.3.0
* checking 18 files for package collisions
>>> Merging net-print/cnijfilter-2.70 to /
--- /usr/
--- /usr/local/
--- /usr/local/bin/
>>> /usr/local/bin/cifmp510
--- /usr/lib/
--- /usr/lib/cups/
--- /usr/share/
--- /usr/share/cups/
--- /usr/share/cups/model/
>>> /usr/share/cups/model/canonmp510.ppd
--- /usr/libexec/
--- /usr/libexec/cups/
--- /usr/libexec/cups/filter/
>>> /usr/libexec/cups/filter/pstocanonij
--- /usr/lib32/
>>> /usr/lib32/libcnbpcnclui293.so.3.3.0
>>> /usr/lib32/libcnbpcmcm293.so.6.50.1
>>> /usr/lib32/cnijlib/
>>> /usr/lib32/cnijlib/cnbpname293.tbl
>>> /usr/lib32/cnijlib/cifmp510.conf
>>> /usr/lib32/cnijlib/cnb_2930.tbl
>>> /usr/lib32/libcnbpcnclbjcmd293.so.3.3.0
>>> /usr/lib32/cups/
>>> /usr/lib32/cups/filter/
>>> /usr/lib32/libcnbpess293.so.3.0.9
>>> /usr/lib32/libcnbpo293.so.1.0.2
>>> /usr/lib32/libcnbpcnclapi293.so.3.3.0
>>> /usr/lib32/libcnbpcnclui293.so -> libcnbpcnclui293.so.3.3.0
>>> /usr/lib32/libcnbpcnclapi293.so -> libcnbpcnclapi293.so.3.3.0
>>> /usr/lib32/libcnbpcnclbjcmd293.so -> libcnbpcnclbjcmd293.so.3.3.0
>>> /usr/lib32/libcnbpcmcm293.so -> libcnbpcmcm293.so.6.50.1
>>> /usr/lib32/libcnbpess293.so -> libcnbpess293.so.3.0.9
>>> /usr/lib32/libcnbpo293.so -> libcnbpo293.so.1.0.2
*
* For installing a printer:
* * Restart CUPS: /etc/init.d/cupsd restart
* * Go to http://127.0.0.1:631/
* -> Printers -> Add Printer
*
* If you experience any problems, please visit:
* http://forums.gentoo.org/viewtopic-p-3217721.html
*
>>> Regenerating /etc/ld.so.cache...
>>> net-print/cnijfilter-2.70 merged.
>>> Recording net-print/cnijfilter in "world" favorites file...

>>> No packages selected for removal by clean
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.
* GNU info directory index is up-to-date.
localhost fitzcarraldo #


:arrow: No es necesario instalar bjdeps si está utilizando la edition x86 de Sabayon Linux, sólo si está utilizando la edition x86_64.
Last edited by Fitzcarraldo on Wed Jan 07, 2009 16:50, edited 2 times in total.

JotaCE
Baby Hen
Posts: 11
Joined: Sat Feb 02, 2008 5:24

Re: Se puede usar rpm en sabayon?

Post by JotaCE » Sun Feb 03, 2008 2:50

yo tengo una canon ip1800 y la logre configurar correctamente con gentoo usando el siguiente blog.

esta quisas en que lengua pero las instrucciones que tienes que seguir son leguibles.

http://www.linuxdiyf.com/blog/?84497/ac ... _2245.html

homar
Young Hen
Posts: 32
Joined: Sun Jan 13, 2008 3:31
Location: Mixco, Guatemala

buen enlace

Post by homar » Tue Feb 05, 2008 4:04

JotaCE gracias por el link fui a verlo pero tengo algunas dudas de lo de genkernel, pero ya que lo has hecho deberias poner como lo hiciste en un blog o algo asi para los que no somos muy experimentados.
Voy a estudiar un poco el enlace.

User avatar
daniequy
Old Dear Hen
Posts: 554
Joined: Fri Feb 23, 2007 2:42
Location: Puerto Natales, Chile

Re: Se puede usar rpm en sabayon?

Post by daniequy » Thu Feb 07, 2008 16:45

Yo notube mayor problema para instalar mi canon ip 100

existe el ebuil para gentoo.. solo hay que uase un poco de overlay de layma y ya, busquen en google

saludos cordiales :pirat:
Moderador Sabayon Linux

User avatar
tuxtor
Simple Hen
Posts: 96
Joined: Sat Mar 24, 2007 9:08
Location: Guatemala
Contact:

Re: Se puede usar rpm en sabayon?

Post by tuxtor » Tue Feb 12, 2008 16:11

Homar:
Genkernel es una utilidad de congiguracion cuando quieres configurar y compilar un nuevo kernel.

Respecto a lo que dijo danieguy, existe el overlay zugaina pero... muchos ebuilds apuntan a rpm's que ya no estan on-line, por eso fue que escribi ese manual, porque cuando quise instalar de nuevo la impresora estaban off-line.
Vive en un mundo libre, vive en la comunidad linux

homar
Young Hen
Posts: 32
Joined: Sun Jan 13, 2008 3:31
Location: Mixco, Guatemala

Esto si tiene muchos detalles

Post by homar » Thu Feb 14, 2008 4:41

Gracias amigos por su ayuda he probado lo de los metodos pero no logro hacer que me funcione en el de Fitzcarraldo que uso el driver .src no logro que lo encuentre o que lo trate de bajar no se que estoy haciendo mal.
En el metodo de los rpm me dice que hay varias dependencias que hacen falta ya instale la libreria libxml pero da error de dependencias como que esa no estuviera instalada pero la instale antes que fue lo primero que hice y otras librerias mas como la gtk+ y otras mas que pienso que estan instaladas.

JotaCE
Baby Hen
Posts: 11
Joined: Sat Feb 02, 2008 5:24

Re: buen enlace

Post by JotaCE » Thu Feb 14, 2008 17:57

homar wrote:JotaCE gracias por el link fui a verlo pero tengo algunas dudas de lo de genkernel, pero ya que lo has hecho deberias poner como lo hiciste en un blog o algo asi para los que no somos muy experimentados.
Voy a estudiar un poco el enlace.
Aqui un blog con las instrucciones para instalar la canon ip1800 sobre gentoo que deberia funcionar con sabayon

http://gentoo-es.blogspot.com/2008/02/i ... 00-en.html

Post Reply