Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
why i cant compile the "system-config-printer"?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
figo
n00b
n00b


Joined: 20 Sep 2008
Posts: 49

PostPosted: Thu Jan 15, 2009 7:07 am    Post subject: why i cant compile the "system-config-printer"? Reply with quote

Code:
>>> Emerging (1 of 1) app-admin/system-config-printer-0.7.27
 * system-config-printer-0.7.27-1.src.rpm RMD160 SHA1 SHA256 size ;-) ...[ ok ]
 * checking ebuild checksums ;-) ...                                     [ ok ]
 * checking auxfile checksums ;-) ...                                    [ ok ]
 * checking miscfile checksums ;-) ...                                   [ ok ]
>>> Unpacking source...
>>> Unpacking system-config-printer-0.7.27-1.src.rpm to /var/tmp/portage/app-admin/system-config-printer-0.7.27/work
>>> Unpacking pycups-1.9.12.tar.bz2 to /var/tmp/portage/app-admin/system-config-printer-0.7.27/work
>>> Unpacking system-config-printer-0.7.27.tar.bz2 to /var/tmp/portage/app-admin/system-config-printer-0.7.27/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/app-admin/system-config-printer-0.7.27/work/system-config-printer-0.7.27 ...
 * econf: updating system-config-printer-0.7.27/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating system-config-printer-0.7.27/config.guess with /usr/share/gnuconfig/config.guess
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --build=i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for perl... /usr/bin/perl
checking for XML::Parser... ok
checking for iconv... /usr/bin/iconv
checking for msgfmt... /usr/bin/msgfmt
checking for msgmerge... /usr/bin/msgmerge
checking for xgettext... /usr/bin/xgettext
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/gmsgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for style of include used by make... GNU
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-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 i686-pc-linux-gnu-gcc accepts -g... yes
checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed
checking dependency style of i686-pc-linux-gnu-gcc... none
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for ld used by GCC... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking whether NLS is requested... yes
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
configure: creating ./config.status
config.status: creating Makefile
config.status: creating po/Makefile.in
config.status: creating config.py
config.status: executing intltool commands
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: executing depfiles commands
config.status: executing po/stamp-it commands
make
Making all in po
make[1]: Entering directory `/var/tmp/portage/app-admin/system-config-printer-0.7.27/work/system-config-printer-0.7.27/po'
file=`echo en_GB | sed 's,.*/,,'`.gmo \
     && rm -f $file && /usr/bin/gmsgfmt -o $file en_GB.po
file=`echo zh_CN | sed 's,.*/,,'`.gmo \
     && rm -f $file && /usr/bin/gmsgfmt -o $file zh_CN.po
make[1]: Leaving directory `/var/tmp/portage/app-admin/system-config-printer-0.7.27/work/system-config-printer-0.7.27/po'
make[1]: Entering directory `/var/tmp/portage/app-admin/system-config-printer-0.7.27/work/system-config-printer-0.7.27'
LC_ALL=C ./intltool-merge -d -u -c ./po/.intltool-merge-cache ./po system-config-printer.desktop.in system-config-printer.desktop
Generating and caching the translation database
Merging translations into system-config-printer.desktop.
make[1]: Leaving directory `/var/tmp/portage/app-admin/system-config-printer-0.7.27/work/system-config-printer-0.7.27'
>>> Source compiled.
>>> Test phase [not enabled]: app-admin/system-config-printer-0.7.27

>>> Install system-config-printer-0.7.27 into /var/tmp/portage/app-admin/system-config-printer-0.7.27/image/ category app-admin
make DESTDIR=/var/tmp/portage/app-admin/system-config-printer-0.7.27/image/ install
Making install in po
make[1]: Entering directory `/var/tmp/portage/app-admin/system-config-printer-0.7.27/work/system-config-printer-0.7.27/po'
/var/tmp/portage/app-admin/system-config-printer-0.7.27/work/system-config-printer-0.7.27/install-sh -d /var/tmp/portage/app-admin/system-config-printer-0.7.27/image//usr/share
installing en_GB.gmo as /var/tmp/portage/app-admin/system-config-printer-0.7.27/image//usr/share/locale/en_GB.gmo/LC_MESSAGES/system-config-printer.mo
installing zh_CN.gmo as /var/tmp/portage/app-admin/system-config-printer-0.7.27/image//usr/share/locale/zh_CN.gmo/LC_MESSAGES/system-config-printer.mo
if test "system-config-printer" = "glib"; then \
     /var/tmp/portage/app-admin/system-config-printer-0.7.27/work/system-config-printer-0.7.27/install-sh -d /var/tmp/portage/app-admin/system-config-printer-0.7.27/image//usr/share/glib-2.0/gettext/po; \
     /usr/bin/install -c -m 644 ./Makefile.in.in \
           /var/tmp/portage/app-admin/system-config-printer-0.7.27/image//usr/share/glib-2.0/gettext/po/Makefile.in.in; \
   else \
     : ; \
   fi
make[1]: Leaving directory `/var/tmp/portage/app-admin/system-config-printer-0.7.27/work/system-config-printer-0.7.27/po'
make[1]: Entering directory `/var/tmp/portage/app-admin/system-config-printer-0.7.27/work/system-config-printer-0.7.27'
make[2]: Entering directory `/var/tmp/portage/app-admin/system-config-printer-0.7.27/work/system-config-printer-0.7.27'
test -z "/usr/sbin" || mkdir -p -- "/var/tmp/portage/app-admin/system-config-printer-0.7.27/image//usr/sbin"
 /var/tmp/portage/app-admin/system-config-printer-0.7.27/work/system-config-printer-0.7.27/install-sh -c 'system-config-printer' '/var/tmp/portage/app-admin/system-config-printer-0.7.27/image//usr/sbin/system-config-printer'
mkdir -p /var/tmp/portage/app-admin/system-config-printer-0.7.27/image//usr/share/applications/
for i in system-config-printer.desktop; do \
      desktop-file-install --vendor redhat \
        --dir /var/tmp/portage/app-admin/system-config-printer-0.7.27/image//usr/share/applications/      \
        --add-category X-Red-Hat-Base      \
        --add-category SystemSetup         \
        --add-category Application         \
        $i;                               \
   done
/var/tmp/portage/app-admin/system-config-printer-0.7.27/image//usr/share/applications/redhat-system-config-printer.desktop: warning: value "cupsprinter.png" for key "Icon" in group "Desktop Entry" is an icon name with an extension, but there should be no extension as described in the Icon Theme Specification if the value is not an absolute path
/var/tmp/portage/app-admin/system-config-printer-0.7.27/image//usr/share/applications/redhat-system-config-printer.desktop: error: value "Application;SystemSetup;X-Red-Hat-Base;" for key "Categories" in group "Desktop Entry" contains an unregistered value "SystemSetup"; values extending the format should start with "X-"
Error on file "system-config-printer.desktop": Failed to validate the created desktop file
make[2]: *** [install-desktopDATA] 错误 1
make[2]: Leaving directory `/var/tmp/portage/app-admin/system-config-printer-0.7.27/work/system-config-printer-0.7.27'
make[1]: *** [install-am] 错误 2
make[1]: Leaving directory `/var/tmp/portage/app-admin/system-config-printer-0.7.27/work/system-config-printer-0.7.27'
make: *** [install-recursive] 错误 1
 *
 * ERROR: app-admin/system-config-printer-0.7.27 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_install
 *             environment, line  998:  Called die
 * The specific snippet of code:
 *       emake DESTDIR="${D}" install || die "emake install failed";
 *  The die message:
 *   emake install failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/app-admin/system-config-printer-0.7.27/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-admin/system-config-printer-0.7.27/temp/environment'.
 *

>>> Failed to emerge app-admin/system-config-printer-0.7.27, Log file:

>>>  '/var/tmp/portage/app-admin/system-config-printer-0.7.27/temp/build.log'

 * Messages for package app-admin/system-config-printer-0.7.27:

 *
 * ERROR: app-admin/system-config-printer-0.7.27 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_install
 *             environment, line  998:  Called die
 * The specific snippet of code:
 *       emake DESTDIR="${D}" install || die "emake install failed";
 *  The die message:
 *   emake install failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/app-admin/system-config-printer-0.7.27/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-admin/system-config-printer-0.7.27/temp/environment'.
 *
Back to top
View user's profile Send private message
SeaTiger
l33t
l33t


Joined: 22 Nov 2007
Posts: 603
Location: Toronto, Ontario, Canada

PostPosted: Sat Jan 17, 2009 7:48 pm    Post subject: Reply with quote

Hmm, I never try this before.

I use cups.

After installing cups, use browser to open http://localhost:631 and start from there. After that, you should be able to see printer in gnome application.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum