installation problem on SuSE 9.1



Hello,
I'm new to programing!!!

I'm trying to compile and install GTK+ 2.4.9. on SuSE 9.1.
I compiled and installed these packages doing always:

$: ./configure
$: make
   changed to root and then
$: make install

1. pkg-config 0.15.0
2. glib-2.4.6
3. pango-1.4.1 and
4. atk-1.6.1

I setup variables:
CPPFLAGS, LDFLAGS, PKG_CONFIG_PATH, LD_LIBRARY_PATH and PATH

But when I wanted to compile the gtk+-2.4.9...
./configure went ok, but
make gave me the next:

**********************************************************************
********************************************************************** 
        make  all-recursive
        make[1]: Entering directory
        `/usr/src/packages/SOURCES/gtk+-2.4.9'
        Making all in po
        make[2]: Entering directory
        `/usr/src/packages/SOURCES/gtk+-2.4.9/po'
        make[2]: Nothing to be done for `all'.
        make[2]: Leaving directory
        `/usr/src/packages/SOURCES/gtk+-2.4.9/po'
        Making all in po-properties
        make[2]: Entering directory
        `/usr/src/packages/SOURCES/gtk+-2.4.9/po-properties'
        ( if test 'x.' != 'x.'; then \
            posrcprefix='../'; \
          else \
            posrcprefix="../"; \
          fi; \
          rm -f POTFILES-t POTFILES \
            && (sed -e '/^#/d'                                         
        \
                    -e "s/^\[.*\] +//"                                 
        \
                    -e '/^[     ]*$/d'                          \
                    -e "s  *@   $posrcprefix& \\\\@" < ./POTFILES.in   
        \
                | sed -e '$s/\\$//') > POTFILES-t \
            && chmod a-w POTFILES-t \
            && mv POTFILES-t POTFILES )
        cd .. \
          && CONFIG_FILES=po-properties/Makefile.in CONFIG_HEADERS= \
               /bin/sh ./config.status
        config.status: creating po-properties/Makefile.in
        config.status: executing depfiles commands
        config.status: executing default-1 commands
        config.status: executing default-2 commands
        config.status: executing gdk/gdkconfig.h commands
        config.status: gdk/gdkconfig.h is unchanged
        make[2]: Leaving directory
        `/usr/src/packages/SOURCES/gtk+-2.4.9/po-properties'
        make[2]: Entering directory
        `/usr/src/packages/SOURCES/gtk+-2.4.9/po-properties'
        make[2]: Nothing to be done for `all'.
        make[2]: Leaving directory
        `/usr/src/packages/SOURCES/gtk+-2.4.9/po-properties'
        Making all in gdk-pixbuf
        make[2]: Entering directory
        `/usr/src/packages/SOURCES/gtk+-2.4.9/gdk-pixbuf'
        ( cd . && glib-mkenums \
                        --fhead "#ifndef
        __GDK_PIXBUF_ENUM_TYPES_H__\n#define
        __GDK_PIXBUF_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 GDK_TYPE_ ENUMSHORT@
        (@enum_name _get_type())\n"         \
                        --ftail "G_END_DECLS\n\n#endif /*
        __GDK_PIXBUF_ENUM_TYPES_H__ */" \
                gdk-pixbuf.h gdk-pixbuf-io.h gdk-pixbuf-animation.h
        gdk-pixbuf-loader.h ) > tmp-gdk-pixbuf-enum-types.h \
        && (cmp -s tmp-gdk-pixbuf-enum-types.h gdk-pixbuf-enum-types.h
        || cp tmp-gdk-pixbuf-enum-types.h gdk-pixbuf-enum-types.h ) \
        && rm -f tmp-gdk-pixbuf-enum-types.h \
        && echo timestamp > s-enum-types-h
        (cd . && glib-mkenums \
                --fhead "#include <gdk-pixbuf/gdk-pixbuf.h>" \
                --fprod "\n/* enumerations from \"@filename \" */" \
                --vhead "GType\n enum_name@_get_type (void)\n{\n  static
        GType etype = 0;\n  if (etype == 0) {\n    static const
        G Typee@Value values[] = {"       \
                --vprod "      { @VALUENAME@, \"@VALUENAME \",
        \"@valuenick \" }," \
                --vtail "      { 0, NULL, NULL }\n    };\n    etype =
        g_ type@_register_static (\"@EnumName \", values);\n  }\n 
        return etype;\n}\n" \
                  gdk-pixbuf.h gdk-pixbuf-io.h gdk-pixbuf-animation.h
        gdk-pixbuf-loader.h) > gdk-pixbuf-enum-types.c
        /bin/sh: line 1: gdk-pixbuf-enum-types.c: Permission denied
        make[2]: *** [gdk-pixbuf-enum-types.c] Error 1
        make[2]: Leaving directory
        `/usr/src/packages/SOURCES/gtk+-2.4.9/gdk-pixbuf'
        make[1]: *** [all-recursive] Error 1
        make[1]: Leaving directory
        `/usr/src/packages/SOURCES/gtk+-2.4.9'
        make: *** [all] Error 2
        gandalf linux:/usr/src/packages/SOURCES/gtk+-2.4.9> make
        >/home/gandalf/Documents/Text/x.txt
        /bin/sh: line 1: gdk-pixbuf-enum-types.c: Permission denied
        make[2]: *** [gdk-pixbuf-enum-types.c] Error 1
        make[1]: *** [all-recursive] Error 1
        make: *** [all] Error 2
************************************************************************
************************************************************************

So I tried this: I become root than:

$: ./configure
$: make
$: make install

Then I got this:

************************************************************************
************************************************************************

make  all-recursive
make[1]: Entering directory `/usr/src/packages/SOURCES/gtk+-2.4.9'
Making all in po
make[2]: Entering directory `/usr/src/packages/SOURCES/gtk+-2.4.9/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/src/packages/SOURCES/gtk+-2.4.9/po'
Making all in po-properties
make[2]: Entering directory
`/usr/src/packages/SOURCES/gtk+-2.4.9/po-properties'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory
`/usr/src/packages/SOURCES/gtk+-2.4.9/po-properties'
Making all in gdk-pixbuf
make[2]: Entering directory
`/usr/src/packages/SOURCES/gtk+-2.4.9/gdk-pixbuf'
( cd . && glib-mkenums \
                --fhead "#ifndef __GDK_PIXBUF_ENUM_TYPES_H__\n#define
__GDK_PIXBUF_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
GDK_TYPE_ ENUMSHORT@ (@enum_name _get_type())\n"         \
                --ftail "G_END_DECLS\n\n#endif /*
__GDK_PIXBUF_ENUM_TYPES_H__ */" \
        gdk-pixbuf.h gdk-pixbuf-io.h gdk-pixbuf-animation.h
gdk-pixbuf-loader.h ) > tmp-gdk-pixbuf-enum-types.h \
&& (cmp -s tmp-gdk-pixbuf-enum-types.h gdk-pixbuf-enum-types.h || cp
tmp-gdk-pixbuf-enum-types.h gdk-pixbuf-enum-types.h ) \
&& rm -f tmp-gdk-pixbuf-enum-types.h \
&& echo timestamp > s-enum-types-h
/bin/sh: line 1: glib-mkenums: command not found
make[2]: *** [s-enum-types-h] Error 127
make[2]: Leaving directory
`/usr/src/packages/SOURCES/gtk+-2.4.9/gdk-pixbuf'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/packages/SOURCES/gtk+-2.4.9'
make: *** [all] Error 2

**************************************************************************
**************************************************************************

I really don't know how to solve this.
Thanks Christopher for answering, but that didn't work.

gdk-pixbuf directory has this permission:
drwxrwxrwx   4    3877  3877    2448 2004-11-03 17:44 gdk-pixbuf

And I extracted the source as the normal user.

Thanks





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