Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem emerging pango and atk
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Skip
n00b
n00b


Joined: 15 Oct 2002
Posts: 6

PostPosted: Thu Oct 17, 2002 4:49 am    Post subject: Problem emerging pango and atk Reply with quote

I seem to be having a problem emerging both pango and atk when i try to emerge gnome. Im using gentoo1.4-rc1. ive tried numerous things and cant figure it out. the error seems to be in regards to /usr/bin/env and the lack of a reference to perl. here is the error i get when i emerge atk:
Code:
H__\n\n#include <glib-object.h>\n\nG_BEGIN_DECLS\n" \
                --fprod "/* enumerations from \"@filename@\" */\n" \
                --vhead "GType @enum_name@_get_type (void);\n#define ATK_TYPE_@ENUMSHORT@ (@enum_name@_get_type())\n"         \
                --ftail "G_END_DECLS\n\n#endif /* __ATK_ENUM_TYPES_H__ */" \
        atk.h atkaction.h atkcomponent.h atkdocument.h atkeditabletext.h atkgobjectaccessible.h atkhyperlink.h atkhypertext.h atknoopobject.h atknoopobjectfactory.h atkobject.h atkobjectfactory.h atkimage.h atkregistry.h atkrelation.h atkrelationset.h atkselection.h atkstate.h atkstateset.h atkstreamablecontent.h atktable.h atktext.h atkutil.h atkvalue.h ) > tmp-atk-enum-types.h \
&& (cmp -s tmp-atk-enum-types.h ./atk-enum-types.h || cp tmp-atk-enum-types.h ./atk-enum-types.h ) \
&& rm -f tmp-atk-enum-types.h \
&& echo timestamp > s-enum-types-h
case glib-genmarshal in                                                        \
   .*) glib_genmarshal=`pwd`/glib-genmarshal ;;                         \
   *) glib_genmarshal=glib-genmarshal ;;                                       \
esac;                                                                          \
$glib_genmarshal --prefix=atk_marshal ./atkmarshal.list --body >> xgen-gmc     \
&& (cmp -s xgen-gmc ./atkmarshal.c || cp xgen-gmc ./atkmarshal.c)              \
&& rm -f xgen-gmc xgen-gmc~                                                    \
&& echo timestamp > stamp-atkmarshal.c
/usr/bin/env: perl -w: No such file or directory
make[1]: *** [s-enum-types-h] Error 127
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/atk-1.0.3-r1/work/atk-1.0.3/atk'
make: *** [all-recursive] Error 1

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line -144, Exitcode 2
!!! (no error message)


Ill post the pango error shortly.
Back to top
View user's profile Send private message
Skip
n00b
n00b


Joined: 15 Oct 2002
Posts: 6

PostPosted: Thu Oct 17, 2002 4:52 am    Post subject: pango error Reply with quote

here is the end result of emerge pango:
Code:
   minixftgram.lo minixftlex.lo minixftdbg.lo minixftfont.lo minixftfs.lo minixftlist.lo minixftname.lo minixftcache.lo minixftdir.lo minixftfreetype.lo minixftmatch.lo minixftpat.lo minixftcfg.lo minixftdpy.lo minixftinit.lo minixftmatrix.lo minixftstr.lo
mkdir .libs
rm -fr .libs/libmini-xft.la .libs/libmini-xft.* .libs/libmini-xft.*
ar cru .libs/libmini-xft.al minixftgram.lo minixftlex.lo minixftdbg.lo minixftfont.lo minixftfs.lo minixftlist.lo minixftname.lo minixftcache.lo minixftdir.lo minixftfreetype.lo minixftmatch.lo minixftpat.lo minixftcfg.lo minixftdpy.lo minixftinit.lo minixftmatrix.lo minixftstr.lo
ranlib .libs/libmini-xft.al
creating libmini-xft.la
(cd .libs && rm -f libmini-xft.la && ln -s ../libmini-xft.la libmini-xft.la)
make[3]: Leaving directory `/var/tmp/portage/pango-1.0.5/work/pango-1.0.5/pango/mini-xft'
make[3]: Entering directory `/var/tmp/portage/pango-1.0.5/work/pango-1.0.5/pango'
( cd . && glib-mkenums \
                --fhead "#ifndef __PANGO_ENUM_TYPES_H__\n#define __PANGO_ENUM_TYPES_H__\n\n#include <glib-object.h>\n\nG_BEGIN_DECLS\n" \
                --fprod "/* enumerations from \"@filename@\" */\n" \
                --vhead "GType @enum_name@_get_type (void);\n#define PANGO_TYPE_@ENUMSHORT@ (@enum_name@_get_type())\n"         \
                --ftail "G_END_DECLS\n\n#endif /* __PANGO_ENUM_TYPES_H__ */" \
        pango.h pango-attributes.h pango-break.h pango-context.h pango-coverage.h pango-engine.h pango-font.h pango-fontmap.h pango-fontset.h pango-glyph.h pango-indic.h pango-item.h pango-layout.h pango-modules.h pango-tabs.h pango-types.h pango-utils.h ) > tmp-pango-enum-types.h \
&& (cmp -s tmp-pango-enum-types.h ./pango-enum-types.h || cp tmp-pango-enum-types.h ./pango-enum-types.h ) \
&& rm -f tmp-pango-enum-types.h \
&& echo timestamp > s-enum-types-h
/usr/bin/env: perl -w: No such file or directory
make[3]: *** [s-enum-types-h] Error 127
make[3]: Leaving directory `/var/tmp/portage/pango-1.0.5/work/pango-1.0.5/pango'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/pango-1.0.5/work/pango-1.0.5/pango'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/pango-1.0.5/work/pango-1.0.5'
make: *** [all-recursive-am] Error 2

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line -142, Exitcode 2
!!! serial make failed
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Thu Oct 17, 2002 5:10 am    Post subject: Reply with quote

Silly question, but do you have perl installed, and is it working? What does "perl -V" say?
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
Skip
n00b
n00b


Joined: 15 Oct 2002
Posts: 6

PostPosted: Thu Oct 17, 2002 5:16 am    Post subject: Reply with quote

i have installed perl multiple times, and just updated it a few hours ago. here is what perl -V generated:
Code:
Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
  Platform:
    osname=linux, osvers=2.4.19-gentoo-r9, archname=i686-linux
    uname='linux matrix 2.4.19-gentoo-r9 #2 smp mon oct 14 17:15:46 est 2002 i686 amd athlon(tm) processor authenticamd gnulinux '
    config_args='-des -Dprefix=/usr -Darchname=i686-linux -Duselargefiles -Dd_dosuid -Dlocincpth=  -Dd_semctl_semun -Di_gdbm -Di_db -Di_ndbm'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
    useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
  Compiler:
    cc='cc', ccflags ='-fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-march=athlon-tbird -O3 -pipe',
    cppflags='-fno-strict-aliasing'
    ccversion='', gccversion='3.2', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=4, usemymalloc=n, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lnsl -lndbm -lgdbm -ldb -ldl -lm -lc -lcrypt -lutil
    perllibs=-lnsl -ldl -lm -lc -lcrypt -lutil
    libc=/lib/libc-2.2.5.so, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
    cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'


Characteristics of this binary (from libperl):
  Compile-time options: USE_LARGE_FILES
  Built under linux
  Compiled at Oct 16 2002 23:27:41
  @INC:
    /usr/lib/perl5/5.6.1/i686-linux
    /usr/lib/perl5/5.6.1
    /usr/lib/perl5/site_perl/5.6.1/i686-linux
    /usr/lib/perl5/site_perl/5.6.1
    /usr/lib/perl5/site_perl
    .
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Thu Oct 17, 2002 6:14 am    Post subject: Reply with quote

I fed "glib-mkenums /usr/bin/env perl" to google, and it had this to say:
Heijs wrote:
I can't get atk or pango compiled. I get the following make errors: /usr/bin/env: perl -w: No such file or directory make[1]: *** [s-enum-types-h] Error 127 make[1]: Leaving directory `/var/tmp/portage/atk-1.0.1-r3/work/atk-1.0.1/atk' make: *** [all-recursive] Error 1

anon wrote:
I had exactly the same problem on my new Gentoo system. I made sure perl was installed, re-emerged glib (noting that even glib-mkenums --help spit out the error message you printed above), did a "mv ./X11/xinit/._cfg0000_xinitrc ./X11/xinit/xinitrc", and then emerged atk and pango succesfully.

_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
Skip
n00b
n00b


Joined: 15 Oct 2002
Posts: 6

PostPosted: Thu Oct 17, 2002 7:00 am    Post subject: Reply with quote

awesome, it works. thanks for the help. it was probably a result of me having to mess with files to get perl to install at first because of a script error a while back. thanks.
Back to top
View user's profile Send private message
CowMike
n00b
n00b


Joined: 16 May 2002
Posts: 52
Location: Ede, NL

PostPosted: Sat Nov 02, 2002 10:46 am    Post subject: Reply with quote

Hmm, I have the same problem :( I also have Perl installed (latest version) and I get the same error :(

Does the xinitrc file makes any sense to atk ? If I rename that file (I don't have the ._cfg0000 file anymore), should it work then ?
Back to top
View user's profile Send private message
CowMike
n00b
n00b


Joined: 16 May 2002
Posts: 52
Location: Ede, NL

PostPosted: Sat Nov 02, 2002 10:56 am    Post subject: Reply with quote

Yeah! This is awesome! :D

Thank you for this solution ! :D
Back to top
View user's profile Send private message
Vlad
Apprentice
Apprentice


Joined: 09 Apr 2002
Posts: 264
Location: San Diego, California

PostPosted: Tue Aug 26, 2003 10:18 pm    Post subject: Reply with quote

The fix is to remerge glib. I had the same problem on a recent (8/26/2003) clean install. That xinitrc thing didn't play into it.
Back to top
View user's profile Send private message
wylbur
n00b
n00b


Joined: 22 Mar 2003
Posts: 47
Location: 32C, an aisle seat near the back

PostPosted: Mon Feb 21, 2005 7:37 am    Post subject: this bug is still alive... Reply with quote

I just hit it compiling pango and atk on my ~amd86. The glib fix still works, too. thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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