Mailinglist Archive: opensuse-de (1522 mails)

< Previous Next >
Re: kompilieren
  • From: anna simon <marsupeal@xxxxxx>
  • Date: Wed, 05 Apr 2006 11:21:27 +0200
  • Message-id: <44338C17.2090905@xxxxxx>
Martin Ereth schrieb:
>anna simon schrieb:
>
>>ich versuche das color management plugin für gimp zu kompilieren.
>>
>[configure error: gtk-config not found]
>
>Waren vorhergehende Tipps nicht erfolgreich, hier der Holzhammer:
>
>Wie mir scheint, ist gtk-config in gtk-devel verpackt. Das gtk-devel Paket wird
>scheinbar nicht mitgeliefert. Auf :
>http://www.novell.com/products/linuxpackages/professional/gtk-devel.html steht, dass
>es dabei sein muss (DVD1), die erste Datei ist ja die gesuchte.
>Nun gilt es, das RPM herunterzuladen und zu installieren.
>Dort bekommst du es:
>ftp://ftp.gwdg.de/pub/opensuse/distribution/SL-10.0-OSS/inst-source/suse/i586/gtk-devel-1.2.10-888.i586.rpm
>
>Nun müsste ein which gtk-config ergeben: /opt/gnome/bin/gtk-config.
>
>Dann dürfte configure auch nicht mehr meckern.
>
>Wenn doch, poste mal ./configure --help
>
>Martin
>
>P.S.: Nicht verzweifeln, wenn ein Paket nicht kompiliert. Aller Anfang ist schwer. Bei
>mir hat es beim ersten Versuch auch nicht immer geklappt. Fragen darfst du natürlich
>immer! Nicht aufgeben!
>
>
hallo

danke für deine tipps, martin. ich bin 2 schritte weiter gekommen :)
ich habe auch noch bei gimptool diesen export befehl anwenden müssen,
aber jetzt gehts wieder nicht weiter, und zwar deshalb:

checking for GIMP - version >= 1.1.22... no
*** Could not run GIMP test program, checking why...
*** The test program failed to compile or link. See the file config.log
for the
*** exact error that occured. This usually means GIMP was incorrectly
installed
*** or that you have moved GIMP since it was installed. In the latter
case, you
*** may want to edit the gimptool script: /opt/gnome/bin/gimptool
configure: error: Cannot find GIMP: Is gimptool in path?

ich weiß nicht kann man auch anhänge an diese lise verschicken? ich
probiers mal mit dem comfigure.log

grüße

anna

ps ach so - ich glaub das ganze ist nur für gimp 1.2 - dabei ist ja auf
suse 9.1 gimp 2.0.2 installiert - gehts das jetzt überhaupt nicht oder was?
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.52. Invocation command line was

$ ./configure

## ---------- ##
## Platform. ##
## ---------- ##

hostname = linux
uname -m = i686
uname -r = 2.6.4-52-default
uname -s = Linux
uname -v = #1 Wed Apr 7 02:08:30 UTC 2004

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch = i686
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH = /usr/sbin:/bin:/usr/bin:/sbin:/usr/X11R6/bin

## ------------ ##
## Core tests. ##
## ------------ ##

configure:975: PATH=".;."; conftest.sh
./configure: line 976: conftest.sh: command not found
configure:978: $? = 127
configure:1035: checking for a BSD compatible install
configure:1084: result: /usr/bin/install -c
configure:1095: checking whether build environment is sane
configure:1138: result: yes
configure:1163: WARNING: `missing' script is too old or missing
configure:1171: checking for mawk
configure:1197: result: no
configure:1171: checking for gawk
configure:1186: found /bin/gawk
configure:1194: result: gawk
configure:1204: checking whether make sets ${MAKE}
configure:1228: result: no
configure:1321: checking for style of include used by make
configure:1348: result: none
configure:1395: checking for gcc
configure:1410: found /usr/bin/gcc
configure:1418: result: gcc
configure:1646: checking for C compiler version
configure:1649: gcc --version </dev/null >&5
gcc (GCC) 3.3.3 (SuSE Linux)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:1652: $? = 0
configure:1654: gcc -v </dev/null >&5
Reading specs from /usr/lib/gcc-lib/i586-suse-linux/3.3.3/specs
Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --enable-languages=c,c++,f77,objc,java,ada --disable-checking --libdir=/usr/lib --enable-libgcj --with-gxx-include-dir=/usr/include/g++ --with-slibdir=/lib --with-system-zlib --enable-shared --enable-__cxa_atexit i586-suse-linux
Thread model: posix
gcc version 3.3.3 (SuSE Linux)
configure:1657: $? = 0
configure:1659: gcc -V </dev/null >&5
gcc: `-V' option must have argument
configure:1662: $? = 1
configure:1682: checking for C compiler default output
configure:1685: gcc conftest.c >&5
configure:1688: $? = 0
configure:1717: result: a.out
configure:1722: checking whether the C compiler works
configure:1728: ./a.out
configure:1731: $? = 0
configure:1746: result: yes
configure:1753: checking whether we are cross compiling
configure:1755: result: no
configure:1758: checking for executable suffix
configure:1760: gcc -o conftest conftest.c >&5
configure:1763: $? = 0
configure:1785: result:
configure:1791: checking for object suffix
configure:1809: gcc -c conftest.c >&5
configure:1812: $? = 0
configure:1831: result: o
configure:1835: checking whether we are using the GNU C compiler
configure:1856: gcc -c conftest.c >&5
configure:1859: $? = 0
configure:1862: test -s conftest.o
configure:1865: $? = 0
configure:1877: result: yes
configure:1883: checking whether gcc accepts -g
configure:1901: gcc -c -g conftest.c >&5
configure:1904: $? = 0
configure:1907: test -s conftest.o
configure:1910: $? = 0
configure:1920: result: yes
configure:1947: gcc -c -g -O2 conftest.c >&5
conftest.c:2: error: parse error before "me"
configure:1950: $? = 1
configure: failed program was:
#ifndef __cplusplus
choke me
#endif
configure:2050: checking dependency style of gcc
configure:2112: result: none
configure:2116: checking for strerror in -lcposix
configure:2143: gcc -o conftest -g -O2 conftest.c -lcposix >&5
/usr/lib/gcc-lib/i586-suse-linux/3.3.3/../../../../i586-suse-linux/bin/ld: cannot find -lcposix
collect2: ld returned 1 exit status
configure:2146: $? = 1
configure: failed program was:
#line 2124 "configure"
#include "confdefs.h"

/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char strerror ();
int
main ()
{
strerror ();
;
return 0;
}
configure:2163: result: no
configure:2212: checking for gcc
configure:2235: result: gcc
configure:2463: checking for C compiler version
configure:2466: gcc --version </dev/null >&5
gcc (GCC) 3.3.3 (SuSE Linux)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2469: $? = 0
configure:2471: gcc -v </dev/null >&5
Reading specs from /usr/lib/gcc-lib/i586-suse-linux/3.3.3/specs
Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --enable-languages=c,c++,f77,objc,java,ada --disable-checking --libdir=/usr/lib --enable-libgcj --with-gxx-include-dir=/usr/include/g++ --with-slibdir=/lib --with-system-zlib --enable-shared --enable-__cxa_atexit i586-suse-linux
Thread model: posix
gcc version 3.3.3 (SuSE Linux)
configure:2474: $? = 0
configure:2476: gcc -V </dev/null >&5
gcc: `-V' option must have argument
configure:2479: $? = 1
configure:2482: checking whether we are using the GNU C compiler
configure:2524: result: yes
configure:2530: checking whether gcc accepts -g
configure:2567: result: yes
configure:2594: gcc -c -g -O2 conftest.c >&5
conftest.c:2: error: parse error before "me"
configure:2597: $? = 1
configure: failed program was:
#ifndef __cplusplus
choke me
#endif
configure:2697: checking dependency style of gcc
configure:2759: result: none
configure:2763: checking for gcc option to accept ANSI C
configure:2823: gcc -c -g -O2 conftest.c >&5
configure:2826: $? = 0
configure:2829: test -s conftest.o
configure:2832: $? = 0
configure:2846: result: none needed
configure:2862: checking how to run the C preprocessor
configure:2888: gcc -E conftest.c
configure:2894: $? = 0
configure:2921: gcc -E conftest.c
configure:2918:28: ac_nonexistent.h: No such file or directory
configure:2927: $? = 1
configure: failed program was:
#line 2917 "configure"
#include "confdefs.h"
#include <ac_nonexistent.h>
configure:2964: result: gcc -E
configure:2979: gcc -E conftest.c
configure:2985: $? = 0
configure:3012: gcc -E conftest.c
configure:3009:28: ac_nonexistent.h: No such file or directory
configure:3018: $? = 1
configure: failed program was:
#line 3008 "configure"
#include "confdefs.h"
#include <ac_nonexistent.h>
configure:3057: checking for ANSI C header files
configure:3071: gcc -E conftest.c
configure:3077: $? = 0
configure:3164: gcc -o conftest -g -O2 conftest.c >&5
configure:3167: $? = 0
configure:3169: ./conftest
configure:3172: $? = 0
configure:3185: result: yes
configure:3195: checking whether to enable maintainer-specific portions of Makefiles
configure:3204: result: no
configure:3263: checking for gtk-config
configure:3292: result: /opt/gnome/bin/gtk-config
configure:3300: checking for GTK - version >= 1.2.7
configure:3403: gcc -o conftest -g -O2 -I/opt/gnome/include -I/opt/gnome/include/gtk-1.2 -I/opt/gnome/include/glib-1.2 -I/opt/gnome/lib/glib/include -I/usr/X11R6/include conftest.c -L/opt/gnome/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm >&5
configure:3406: $? = 0
configure:3408: ./conftest
configure:3411: $? = 0
configure:3427: result: yes
configure:3546: checking for gimptool
configure:3575: result: /opt/gnome/bin/gimptool
configure:3583: checking for GIMP - version >= 1.1.22
configure:3688: gcc -o conftest -g -O2 -I/opt/gnome/include/gimp-2.0 -I/opt/gnome/include/gtk-2.0 -I/opt/gnome/lib/gtk-2.0/include -I/opt/gnome/include/atk-1.0 -I/opt/gnome/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include conftest.c -L/opt/gnome/lib -lgimpui-2.0 -lgimpwidgets-2.0 -lgimp-2.0 -lgimpcolor-2.0 -lgimpmath-2.0 -lgimpbase-2.0 -Wl,--export-dynamic -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 >&5
configure:3630:26: libgimp/gimp.h: No such file or directory
configure:3641: error: parse error before "PLUG_IN_INFO"
configure:3643: warning: initialization makes integer from pointer without a cast
configure:3644: warning: excess elements in scalar initializer
configure:3644: warning: (near initialization for `PLUG_IN_INFO')
configure:3645: warning: excess elements in scalar initializer
configure:3645: warning: (near initialization for `PLUG_IN_INFO')
configure:3647: warning: excess elements in scalar initializer
configure:3647: warning: (near initialization for `PLUG_IN_INFO')
configure:3647: warning: data definition has no type or storage class
configure: In function `main':
configure:3657: warning: assignment makes pointer from integer without a cast
configure:3691: $? = 1
configure: program exited with status 1
configure: failed program was:
#line 3625 "configure"
#include "confdefs.h"

#include <stdio.h>
#include <stdlib.h>

#include <libgimp/gimp.h>

#ifndef GIMP_CHECK_VERSION
#define GIMP_CHECK_VERSION(major, minor, micro) (GIMP_MAJOR_VERSION > (major) || (GIMP_MAJOR_VERSION == (major) && GIMP_MINOR_VERSION > (minor)) || (GIMP_MAJOR_VERSION == (major) && GIMP_MINOR_VERSION == (minor) && GIMP_MICRO_VERSION >= (micro)))
#endif

#if GIMP_CHECK_VERSION(1,1,24)
GimpPlugInInfo
#else
GPlugInInfo
#endif
PLUG_IN_INFO =
{
NULL, /* init_proc */
NULL, /* quit_proc */
NULL, /* query_proc */
NULL /* run_proc */
};

int main ()
{
int major, minor, micro;
char *tmp_version;

system ("touch conf.gimptest");

/* HP/UX 9 (%@#!) writes to sscanf strings */
tmp_version = g_strdup("1.1.22");
if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
printf("%s, bad version string\n", "1.1.22");
exit(1);
}

if ((2 > major) ||
((2 == major) && (0 > minor)) ||
((2 == major) && (0 == minor) && (0 >= micro)))
{
return 0;
}
else
{
printf("\n*** 'gimptool --version' returned %d.%d.%d, but the minimum version\n", 2, 0, 0);
printf("*** of GIMP required is %d.%d.%d. If gimptool is correct, then it is\n", major, minor, micro);
printf("*** best to upgrade to the required version.\n");
printf("*** If gimptool was wrong, set the environment variable GIMPTOOL\n");
printf("*** to point to the correct copy of gimptool, and remove the file\n");
printf("*** config.cache before re-running configure\n");
return 1;
}
}

configure:3716: result: no
configure:3767: gcc -o conftest -g -O2 -I/opt/gnome/include/gimp-2.0 -I/opt/gnome/include/gtk-2.0 -I/opt/gnome/lib/gtk-2.0/include -I/opt/gnome/include/atk-1.0 -I/opt/gnome/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include conftest.c -L/opt/gnome/lib -lgimpui-2.0 -lgimpwidgets-2.0 -lgimp-2.0 -lgimpcolor-2.0 -lgimpmath-2.0 -lgimpbase-2.0 -Wl,--export-dynamic -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 >&5
configure:3734:26: libgimp/gimp.h: No such file or directory
configure:3745: error: parse error before "PLUG_IN_INFO"
configure:3747: warning: initialization makes integer from pointer without a cast
configure:3748: warning: excess elements in scalar initializer
configure:3748: warning: (near initialization for `PLUG_IN_INFO')
configure:3749: warning: excess elements in scalar initializer
configure:3749: warning: (near initialization for `PLUG_IN_INFO')
configure:3751: warning: excess elements in scalar initializer
configure:3751: warning: (near initialization for `PLUG_IN_INFO')
configure:3751: warning: data definition has no type or storage class
configure:3770: $? = 1
configure: failed program was:
#line 3731 "configure"
#include "confdefs.h"

#include <stdio.h>
#include <libgimp/gimp.h>

#ifndef GIMP_CHECK_VERSION
#define GIMP_CHECK_VERSION(major, minor, micro) (GIMP_MAJOR_VERSION > (major) || (GIMP_MAJOR_VERSION == (major) && GIMP_MINOR_VERSION > (minor)) || (GIMP_MAJOR_VERSION == (major) && GIMP_MINOR_VERSION == (minor) && GIMP_MICRO_VERSION >= (micro)))
#endif

#if GIMP_CHECK_VERSION(1,1,24)
GimpPlugInInfo
#else
GPlugInInfo
#endif
PLUG_IN_INFO =
{
NULL, /* init_proc */
NULL, /* quit_proc */
NULL, /* query_proc */
NULL /* run_proc */
};

int
main ()
{
return 0;
;
return 0;
}
configure:3804: error: Cannot find GIMP: Is gimptool in path?

## ----------------- ##
## Cache variables. ##
## ----------------- ##

ac_cv_c_compiler_gnu=yes
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_header_stdc=yes
ac_cv_lib_cposix_strerror=no
ac_cv_objext=o
ac_cv_path_GIMPTOOL=/opt/gnome/bin/gimptool
ac_cv_path_GTK_CONFIG=/opt/gnome/bin/gtk-config
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_cc_g=yes
ac_cv_prog_make_make_set=no
am_cv_CC_dependencies_compiler_type=none
am_cv_prog_cc_stdc=

## ------------ ##
## confdefs.h. ##
## ------------ ##

#define PACKAGE "gimp-color-manager"
#define VERSION "0.0.8"
#define STDC_HEADERS 1


configure: exit 1
< Previous Next >