Installation gEDA::gtk+ nicht gefunden

Hallo,

bei der Installation von gEDA trat og. Problem auf: Es existiert zwar irgendwo die gtk+, aber kein Pfadeintrag in PKG_CONFIG_PATH.

Weiss jemand eine NG, in der man diese Frage stellen kann?

Grzuss und Dank

Robert

Reply to
R.Freitag
Loading thread data ...

Die Mailinglists des Projekts sind über gmane auch als Newsgroup verfügbar. Server ist news.gmane.org Passend wäre gmane.comp.cad.geda.user

Mit etwas mehr Info kann ich Dir wahrscheinlich auch direkt helfen. Wie versuchst Du zu installieren? Mit dem CD-Image? Mit den einzelnen Source-Paketen von der Downloadseite? Unter Linux? Welche Distribution? Solaris? BSD? Windows/Cygwin? Welche Fehlermeldungen kommen genau (Copy/Paste würde helfen)

Ins Blaue geraten: Falls Du es mit den Source-Paketen versuchst, rufe mal make ohne jeden weiteren Parameter auf. Dann sollte eine Anweisung kommen, die unter anderem angibt, wie man PKG_CONFIG_PATH setzt.

------

--
Kai-Martin Knaak
http://lilalaser.de/blog
Reply to
Kai-Martin Knaak

R.Freitag schrieb:

Sind die GTK+-Headerfiles installiert (Debian IIRC libgtk2.0-dev oder libgtk1.2-dev)? Existiert die gtk+.pc?

# find /usr -type f -name gtk+.pc

Was sagt ./configure? Was sagt

# pkg-config --cflags gtk+

Viele Grüße, Johannes

--
PS: Ein Realname wäre nett. Ich selbst nutze nur keinen, weil mich die
meisten hier bereits mit Namen kennen.
  Markus Gronotte aka "Makus" aka "Kosst Amojan" in de.sci.electronics
Reply to
Johannes Bauer

nichts. Kommt ohne result zum Prompt.

sh:gtk-config: command not found (MEHRFACH)

Dto, Robert

Reply to
R.Freitag

R.Freitag schrieb:

gtk-config nicht installiert? Welche Distribution hast du?

Viele Grüße, Johannes

-- PS: Ein Realname wäre nett. Ich selbst nutze nur keinen, weil mich die meisten hier bereits mit Namen kennen. Markus Gronotte aka "Makus" aka "Kosst Amojan" in de.sci.electronics

Reply to
Johannes Bauer

Du hast die Frage nach den GTK-Developmentpaketen auch noch nicht beantwortet... :-)

Gruß Henning

Reply to
Henning Paul

So, jetzt bitte nicht erschrecken...

Es folgt der teil des LOGs, welches die fehlermeldungen enthält, plus etwas drumherum...

... make libgeda_config ( cd libgeda-20070216; ./configure --prefix=/home/rfr/geda-install ) Configuring libgeda version 20070216 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... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... 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 gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... gcc3 checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for g++... no checking for c++... no checking for gpp... no checking for aCC... no checking for CC... no checking for cxx... no checking for cc++... no checking for cl.exe... no checking for FCC... no checking for KCC... no checking for RCC... no checking for xlC_r... no checking for xlC... no checking whether we are using the GNU C++ compiler... no checking whether g++ accepts -g... no checking dependency style of g++... none checking for g77... no checking for xlf... no checking for f77... no checking for frt... no checking for pgf77... no checking for cf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for xlf90... no checking for f90... no checking for pgf90... no checking for pghpf... no checking for epcf90... no checking for gfortran... no checking for g95... no checking for xlf95... no checking for f95... no checking for fort... no checking for ifort... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for ftn... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool appending configuration tag "F77" to libtool checking whether to enable maintainer-specific portions of Makefiles... no checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking how to run the C preprocessor... gcc -E checking whether make sets $(MAKE)... (cached) yes checking for guile... /usr/bin/guile checking for guile-config... /usr/bin/guile-config checking for guile-tools... /usr/bin/guile-tools checking libguile compile flags... checking libguile link flags... -lguile -lguile-ltdl -lqthreads -lpthread

-lcrypt -lm checking for guile-config... (cached) /usr/bin/guile-config checking if scm_eval_x() takes a second module argument... yes checking for scm_make_smob_type in -lguile... yes checking for scm_set_smob_mark in -lguile... yes checking for scm_set_smob_free in -lguile... yes checking for scm_set_smob_print in -lguile... yes checking for rint in -lm... yes checking for dlopen in -ldl... yes checking for gdlib-config... /usr/bin/gdlib-config checking for X... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for GTK24... Package gtk+-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gtk+-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'gtk+-2.0' found no configure: error: Cannot find gtk+ 2.4.x or later, please install gtk+. make: *** [libgeda_config] Fehler 1 Failure executing command "make libgeda_config", ReturnCode = 2

============== Error! ====================== Failure while configuring "make libgeda_config", shall I continue with remainder of programs? I have experienced an error while installing this program! Error string: Failure while configuring "make libgeda_config", shall I continue with remainder of programs?

I will skip installing this program.

make utils_config ( cd libgeda-20070216; make libgeda-pc-install ) make[1]: Entering directory `/home/rfr/geda-sources/gedagaf/libgeda-20070216' make[1]: *** Keine Regel, um »libgeda-pc-install« zu erstellen. Schluss. make[1]: Leaving directory `/home/rfr/geda-sources/gedagaf/libgeda-20070216' make: *** [libgeda-pc-install] Fehler 2 Failure executing command "make utils_config", ReturnCode = 2

============== Error! ====================== Failure while configuring "make utils_config", shall I continue with remainder of programs? I have experienced an error while installing this program! Error string: Failure while configuring "make utils_config", shall I continue with remainder of programs?

I will skip installing this program.

make symbols_config ( cd geda-symbols-20070216; \ ./configure --prefix=/home/rfr/geda-install ) Configuring geda-symbols version 20070216 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... no checking for mawk... mawk

==================ENDE DES LOG

Reply to
R.Freitag

Distri ist Debian Etch. Nach was muss ich suchen, um die Frage nach den GTK-Developmwent paketen zu beantworten?

Gruss

Robert

Reply to
R.Freitag

Ok. Das führt mich weiter. Danke erst einmal.

Gruss

Robert

Reply to
R.Freitag

Hmm, keine neuen Erkenntnisse. Und die Frage nach den GTK-Development-Paketen hast Du _immer_ noch nicht beantwortet.

Gruß Henning

Reply to
Henning Paul

Henning Paul schrieb:

Die nach der Distribution auch nicht. Mir wird's zu doof.

Viele Grüße, Johannes

--
PS: Ein Realname wäre nett. Ich selbst nutze nur keinen, weil mich die
meisten hier bereits mit Namen kennen.
  Markus Gronotte aka "Makus" aka "Kosst Amojan" in de.sci.electronics
Reply to
Johannes Bauer

R.Freitag schrieb:

Als root:

# apt-get install libgtk2.0-dev

Viele Grüße, Johannes

--
PS: Ein Realname wäre nett. Ich selbst nutze nur keinen, weil mich die
meisten hier bereits mit Namen kennen.
  Markus Gronotte aka "Makus" aka "Kosst Amojan" in de.sci.electronics
Reply to
Johannes Bauer

n zu

Die Frage hat sich beantwortet. Die Datei "gtk+-2.0.pc" fehlt, was bedeutet, dass die Development-Pakete f=C3=BCr GTK *nicht* installiert si= nd. Die wiederholte Nachfrage sollte Dich dazu auffordern, zu pr=C3=BCfen, ob die naheliegende L=C3=B6sung wirklich auf Dein Problem passt.

Wenn Dir (wie in diesem Fall) ein Dateiname genannt wird, der fehlt, solltest Du auf packages.debian.org unter "Durchsuchen des Inhalts von Paketen" diesen Namen eingeben, und erh=C3=A4ltst sofort die Antwort, das= s die Datei /usr/lib/pkgconfig/gtk+-2.0.pc im Paket "libgtk2.0-dev" enthalten ist. Diese Paket kann mit apt-get, aptitude, synaptic oder einem anderen Apt-Frontend Deiner Wahl installiert werden.

Diese Frage geh=C3=B6rt aber eher nach de.comp.os.unix.linux.misc als hierher.

Gru=C3=9F, Michael Karcher (Fup2p)

Reply to
Michael Karcher

"R.Freitag" :

pkg-config eintippen, nicht gtk-config!

M.

--
Bitte auf mwnews2@pentax.boerde.de antworten.
Reply to
Matthias Weingart

Matthias Weingart schrieb:

pkg-config benutzt gtk-config.

Gruß, Johannes

--
PS: Ein Realname wäre nett. Ich selbst nutze nur keinen, weil mich die
meisten hier bereits mit Namen kennen.
  Markus Gronotte aka "Makus" aka "Kosst Amojan" in de.sci.electronics
Reply to
Johannes Bauer

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.