• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

glib gesucht

Beim compilieren eines Canon Scannertreiber´s bekam ich die Meldung das automake, autoconfig und glib fehlten.
Ok, automake und autoconfig per zypper installiert, kein Problem. Aber glib finde ich einfach nicht.
Glib als glib2, glibc und diverse Varianten sind natürlich installiert bzw. werden von Yast angeboten.
In welchem Paket versteckt sich glib?


Dietger
 
A

Anonymous

Gast
glib sollte mit großer Wahrscheinlichkeit das hier gemeint sein.

libglib-2_0-0-32bit-2.22.1-2.2.x86_64
libglib-2_0-0-2.22.1-2.2.x86_64

robi
 
Sind die entsprechenden -devel-Pakete von glibc/glib2 auch installiert?
Nee, waren sie natürlich nicht :eek:ps: , aber an die -devel Pakete hatte ich nicht gedacht (Schäm, ist aber auch schon ewig her, dass ich etwas compiliert habe.)
Damit war das Problem glib erledigt, aber es kamen sofort Neue. Gtk wurde angefordert, hatte sich dann mit dem entsprechenden -devel Paket
und geschätzten 50 Abhängigkeiten auch erledigt. Danach wurde gimp angefordert was sich auch mit dem -devel Paket erledigt hatte.
Anschließend lief autogen.sh tatsächlich durch, nur installieren kann ich das Ganze noch immer nicht. Die letzten Ausgabezeilen sind:
Code:
configure: creating ./config.status
config.status: creating Makefile
config.status: creating po/Makefile.in
config.status: creating backend/Makefile
config.status: creating src/Makefile
config.status: creating include/Makefile
config.status: creating etc/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing default-1 commands
Now type `make' to compile.
linux-Stahlsberg:/home/dietger/Temp/Linux_Scangear_Source_Files/scangearmp-source-1.40-1/scangearmp # make
if test -d /pixmaps; then \
           /pixmaps; \
          for pixmap in /pixmaps/*; do \
            if test -f $pixmap; then \
               $pixmap /pixmaps; \
            fi \
          done \
        fi
linux-Stahlsberg:/home/dietger/Temp/Linux_Scangear_Source_Files/scangearmp-source-1.40-1/scangearmp # make install
make: *** No rule to make target `install'.  Stop.
linux-Stahlsberg:/home/dietger/Temp/Linux_Scangear_Source_Files/scangearmp-source-1.40-1/scangearmp #
Woran liegt es ?

Dietger
 
Hallo,

Du könntest ja den Link zum Driver posten (oder ist der GEHEIM) -- es wäre sicher einfacher zu helfen.

Betr. "make install" no target: copy den Driver zu "/usr/local/bin" und probier ob es so functioniert (mit den richtigen Datei Rechten).

Canon ist NICHT Linux-User-friendly!

Gruss,
Roland
 
Freut mich für Dich ;)

Ist der Driver von Canon? Ich habe auf der Canon Website nachgeschaut:

http://software.canon-europe.com/

Unter "Scanners" habe ich etliche Modelle angeklickt um zu sehen ob Canon einen Linux Driver bereitstellt -- die Antwort:

Your search returned no results

Gruss
Roland
 
Ist der Driver von Canon?
Ja, ist er.
http://software.canon-europe.com/products/0010755.asp

Es ist nicht so, das das Gerät nicht funktionieren würde.
Der Drucker druckt mit Turboprint hervorragend und problemlos, scannen kann ich mit Xsane genauso problemlos.
Ich möchte nur den Original Canon Treiber mal probieren evtl. ist der ja noch leistungsfähiger. Außerdem habe ich schon länger nicht mehr
am System rumgefummelt, es läuft alles so problemlos. :roll:
Ich bin nach der Canon Install-Anleitung vorgegangen:
Code:
To build and install scangearmp:

        ./autogen.sh
        make
        make install

Appendix:

        * You can also set the following path.
           --prefix
                scangearmp                           : default ... /usr/local
           --enable-libpath
                *.conf,*.tbl(ex.canon_mfp.conf)      : default ... /usr/lib

       Example:

           ./autogen.sh --enable-libpath=/usr/lib
           make
           make install


Dietger
 
Hallo,

----- Zitat -----
To build and install scangearmp:
--- Ende Zitat ---

scangearmp-source-1.30-1.tar.gz

habe ich hier gefunden:

http://software.canon-europe.com/software/0033578.asp

Ich habe mal versucht:

./autogen.sh

dies funktioniert, aber "make" produziert dann etliche Fehler

Code:
> make
make  all-recursive
make[1]: Entering directory `/home/user0/RME/Work/Tmp2/ccc/scangearmp-source-1.30/scangearmp'
Making all in po
make[2]: Entering directory `/home/user0/RME/Work/Tmp2/ccc/scangearmp-source-1.30/scangearmp/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/user0/RME/Work/Tmp2/ccc/scangearmp-source-1.30/scangearmp/po'
Making all in backend
make[2]: Entering directory `/home/user0/RME/Work/Tmp2/ccc/scangearmp-source-1.30/scangearmp/backend'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I./include   -DV_MAJOR=1 -DV_MINOR=3 -O2 -D__GIMP_PLUGIN_ENABLE__ -MT libsane_canon_mfp_la-canon_mfp.lo -MD -MP -MF .deps/libsane_canon_mfp_la-canon_mfp.Tpo -c -o libsane_canon_mfp_la-canon_mfp.lo `test -f 'canon_mfp.c' || echo './'`canon_mfp.c
../libtool: line 752: X--tag=CC: command not found
../libtool: line 785: libtool: ignoring unknown tag : command not found
../libtool: line 752: X--mode=compile: command not found
../libtool: line 902: *** Warning: inferring the mode of operation is deprecated.: command not found
../libtool: line 903: *** Future versions of Libtool will require --mode=MODE be specified.: command not found
../libtool: line 1046: Xgcc: command not found
../libtool: line 1046: X-DHAVE_CONFIG_H: command not found
../libtool: line 1046: X-I.: command not found
../libtool: line 1046: X-I..: command not found
../libtool: line 1046: X-I.: command not found
../libtool: line 1046: X-I./include: No such file or directory
../libtool: line 1046: X-DV_MAJOR=1: command not found
../libtool: line 1046: X-DV_MINOR=3: command not found
../libtool: line 1046: X-O2: command not found
../libtool: line 1046: X-D__GIMP_PLUGIN_ENABLE__: command not found
../libtool: line 1046: X-MT: command not found
../libtool: line 1046: Xlibsane_canon_mfp_la-canon_mfp.lo: command not found
../libtool: line 1046: X-MD: command not found
../libtool: line 1046: X-MP: command not found
../libtool: line 1046: X-MF: command not found
../libtool: line 1046: X.deps/libsane_canon_mfp_la-canon_mfp.Tpo: No such file or directory
../libtool: line 1046: X-c: command not found
../libtool: line 1097: Xlibsane_canon_mfp_la-canon_mfp.lo: command not found
../libtool: line 1102: libtool: compile: cannot determine name of library object from `': command not found
make[2]: *** [libsane_canon_mfp_la-canon_mfp.lo] Error 1
make[2]: Leaving directory `/home/user0/RME/Work/Tmp2/ccc/scangearmp-source-1.30/scangearmp/backend'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/user0/RME/Work/Tmp2/ccc/scangearmp-source-1.30/scangearmp'
make: *** [all] Error 2
>

(das "libtool" ist dasjenige von der Treiber Software, nicht das von Linux)

Läuft bei Dir "make" fehlerfrei durch?

Übrigens, wenn "make" durchläuft, dann gibt es auch ein "make install" Target (Zeile 631 in scangearmp/Makefile). Dies lässt mich vermuten dass Dein "make" (auch) nicht fehlerfrei durchgelaufen ist.

Gruss,
Roland
 
Ich habe jetzt auch die neuere Version heruntergeladen:

Linux Source file for ScanGear

http://software.canon-europe.com/software/0037281.asp?model=

Linux_Scangear_Source_Files.tar

http://software.canon-europe.com/download.asp

----------

./autogen.sh >>> läuft

make >>> produziert Fehler (die gleichen wie für die ältere Version)

Code:
scangearmp > make
make  all-recursive
make[1]: Entering directory `/home/user0/RME/Work/Tmp2/ccc/scangearmp-source-1.40-1/scangearmp'
Making all in po
make[2]: Entering directory `/home/user0/RME/Work/Tmp2/ccc/scangearmp-source-1.40-1/scangearmp/po'
file=./`echo cs | sed 's,.*/,,'`.gmo \
	  && rm -f $file && /usr/bin/msgfmt -c -o $file cs.po
file=./`echo da | sed 's,.*/,,'`.gmo \
	  && rm -f $file && /usr/bin/msgfmt -c -o $file da.po
file=./`echo de | sed 's,.*/,,'`.gmo \
	  && rm -f $file && /usr/bin/msgfmt -c -o $file de.po
file=./`echo el | sed 's,.*/,,'`.gmo \
	  && rm -f $file && /usr/bin/msgfmt -c -o $file el.po
file=./`echo es | sed 's,.*/,,'`.gmo \
	  && rm -f $file && /usr/bin/msgfmt -c -o $file es.po
file=./`echo fi | sed 's,.*/,,'`.gmo \
	  && rm -f $file && /usr/bin/msgfmt -c -o $file fi.po
file=./`echo fr | sed 's,.*/,,'`.gmo \
	  && rm -f $file && /usr/bin/msgfmt -c -o $file fr.po
file=./`echo hu | sed 's,.*/,,'`.gmo \
	  && rm -f $file && /usr/bin/msgfmt -c -o $file hu.po
file=./`echo id | sed 's,.*/,,'`.gmo \
	  && rm -f $file && /usr/bin/msgfmt -c -o $file id.po
file=./`echo it | sed 's,.*/,,'`.gmo \
	  && rm -f $file && /usr/bin/msgfmt -c -o $file it.po
file=./`echo ja | sed 's,.*/,,'`.gmo \
	  && rm -f $file && /usr/bin/msgfmt -c -o $file ja.po
file=./`echo ko | sed 's,.*/,,'`.gmo \
	  && rm -f $file && /usr/bin/msgfmt -c -o $file ko.po
file=./`echo nl | sed 's,.*/,,'`.gmo \
	  && rm -f $file && /usr/bin/msgfmt -c -o $file nl.po
file=./`echo nb | sed 's,.*/,,'`.gmo \
	  && rm -f $file && /usr/bin/msgfmt -c -o $file nb.po
file=./`echo pl | sed 's,.*/,,'`.gmo \
	  && rm -f $file && /usr/bin/msgfmt -c -o $file pl.po
file=./`echo pt | sed 's,.*/,,'`.gmo \
	  && rm -f $file && /usr/bin/msgfmt -c -o $file pt.po
file=./`echo ru | sed 's,.*/,,'`.gmo \
	  && rm -f $file && /usr/bin/msgfmt -c -o $file ru.po
file=./`echo sv | sed 's,.*/,,'`.gmo \
	  && rm -f $file && /usr/bin/msgfmt -c -o $file sv.po
file=./`echo th | sed 's,.*/,,'`.gmo \
	  && rm -f $file && /usr/bin/msgfmt -c -o $file th.po
file=./`echo tr | sed 's,.*/,,'`.gmo \
	  && rm -f $file && /usr/bin/msgfmt -c -o $file tr.po
file=./`echo zh | sed 's,.*/,,'`.gmo \
	  && rm -f $file && /usr/bin/msgfmt -c -o $file zh.po
file=./`echo zh_TW | sed 's,.*/,,'`.gmo \
	  && rm -f $file && /usr/bin/msgfmt -c -o $file zh_TW.po
make[2]: Leaving directory `/home/user0/RME/Work/Tmp2/ccc/scangearmp-source-1.40-1/scangearmp/po'
Making all in backend
make[2]: Entering directory `/home/user0/RME/Work/Tmp2/ccc/scangearmp-source-1.40-1/scangearmp/backend'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I./include   -DV_MAJOR=1 -DV_MINOR=4 -O2 -D__GIMP_PLUGIN_ENABLE__ -MT libsane_canon_mfp_la-canon_mfp.lo -MD -MP -MF .deps/libsane_canon_mfp_la-canon_mfp.Tpo -c -o libsane_canon_mfp_la-canon_mfp.lo `test -f 'canon_mfp.c' || echo './'`canon_mfp.c
../libtool: line 752: X--tag=CC: command not found
../libtool: line 785: libtool: ignoring unknown tag : command not found
../libtool: line 752: X--mode=compile: command not found
../libtool: line 902: *** Warning: inferring the mode of operation is deprecated.: command not found
../libtool: line 903: *** Future versions of Libtool will require --mode=MODE be specified.: command not found
../libtool: line 1046: Xgcc: command not found
../libtool: line 1046: X-DHAVE_CONFIG_H: command not found
../libtool: line 1046: X-I.: command not found
../libtool: line 1046: X-I..: command not found
../libtool: line 1046: X-I.: command not found
../libtool: line 1046: X-I./include: No such file or directory
../libtool: line 1046: X-DV_MAJOR=1: command not found
../libtool: line 1046: X-DV_MINOR=4: command not found
../libtool: line 1046: X-O2: command not found
../libtool: line 1046: X-D__GIMP_PLUGIN_ENABLE__: command not found
../libtool: line 1046: X-MT: command not found
../libtool: line 1046: Xlibsane_canon_mfp_la-canon_mfp.lo: command not found
../libtool: line 1046: X-MD: command not found
../libtool: line 1046: X-MP: command not found
../libtool: line 1046: X-MF: command not found
../libtool: line 1046: X.deps/libsane_canon_mfp_la-canon_mfp.Tpo: No such file or directory
../libtool: line 1046: X-c: command not found
../libtool: line 1097: Xlibsane_canon_mfp_la-canon_mfp.lo: command not found
../libtool: line 1102: libtool: compile: cannot determine name of library object from `': command not found
make[2]: *** [libsane_canon_mfp_la-canon_mfp.lo] Error 1
make[2]: Leaving directory `/home/user0/RME/Work/Tmp2/ccc/scangearmp-source-1.40-1/scangearmp/backend'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/user0/RME/Work/Tmp2/ccc/scangearmp-source-1.40-1/scangearmp'
make: *** [all] Error 2
scangearmp >
scangearmp >
scangearmp >
scangearmp > exit
exit

Script done on Fri 12 Nov 2010 04:28:54 PM CET

Roland
 
Ein kleiner Fortschritt:

"make" lautet jetzt:

Code:
scangearmp > make
make  all-recursive
make[1]: Entering directory `/home/user0/RME/Work/Tmp2/ccc/scangearmp-source-1.40-1/scangearmp'
Making all in po
make[2]: Entering directory `/home/user0/RME/Work/Tmp2/ccc/scangearmp-source-1.40-1/scangearmp/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/user0/RME/Work/Tmp2/ccc/scangearmp-source-1.40-1/scangearmp/po'
Making all in backend
make[2]: Entering directory `/home/user0/RME/Work/Tmp2/ccc/scangearmp-source-1.40-1/scangearmp/backend'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I./include   -DV_MAJOR=1 -DV_MINOR=4 -O2 -D__GIMP_PLUGIN_ENABLE__ -MT libsane_canon_mfp_la-canon_mfp.lo -MD -MP -MF .deps/libsane_canon_mfp_la-canon_mfp.Tpo -c -o libsane_canon_mfp_la-canon_mfp.lo `test -f 'canon_mfp.c' || echo './'`canon_mfp.c
mkdir .libs
 gcc -DHAVE_CONFIG_H -I. -I.. -I. -I./include -DV_MAJOR=1 -DV_MINOR=4 -O2 -D__GIMP_PLUGIN_ENABLE__ -MT libsane_canon_mfp_la-canon_mfp.lo -MD -MP -MF .deps/libsane_canon_mfp_la-canon_mfp.Tpo -c canon_mfp.c  -fPIC -DPIC -o .libs/libsane_canon_mfp_la-canon_mfp.o
 gcc -DHAVE_CONFIG_H -I. -I.. -I. -I./include -DV_MAJOR=1 -DV_MINOR=4 -O2 -D__GIMP_PLUGIN_ENABLE__ -MT libsane_canon_mfp_la-canon_mfp.lo -MD -MP -MF .deps/libsane_canon_mfp_la-canon_mfp.Tpo -c canon_mfp.c -o libsane_canon_mfp_la-canon_mfp.o >/dev/null 2>&1
mv -f .deps/libsane_canon_mfp_la-canon_mfp.Tpo .deps/libsane_canon_mfp_la-canon_mfp.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I./include   -DV_MAJOR=1 -DV_MINOR=4 -O2 -D__GIMP_PLUGIN_ENABLE__ -MT libsane_canon_mfp_la-canon_mfp_tools.lo -MD -MP -MF .deps/libsane_canon_mfp_la-canon_mfp_tools.Tpo -c -o libsane_canon_mfp_la-canon_mfp_tools.lo `test -f 'canon_mfp_tools.c' || echo './'`canon_mfp_tools.c
 gcc -DHAVE_CONFIG_H -I. -I.. -I. -I./include -DV_MAJOR=1 -DV_MINOR=4 -O2 -D__GIMP_PLUGIN_ENABLE__ -MT libsane_canon_mfp_la-canon_mfp_tools.lo -MD -MP -MF .deps/libsane_canon_mfp_la-canon_mfp_tools.Tpo -c canon_mfp_tools.c  -fPIC -DPIC -o .libs/libsane_canon_mfp_la-canon_mfp_tools.o
canon_mfp_tools.c:40:17: fatal error: usb.h: No such file or directory
compilation terminated.
make[2]: *** [libsane_canon_mfp_la-canon_mfp_tools.lo] Error 1
make[2]: Leaving directory `/home/user0/RME/Work/Tmp2/ccc/scangearmp-source-1.40-1/scangearmp/backend'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/user0/RME/Work/Tmp2/ccc/scangearmp-source-1.40-1/scangearmp'
make: *** [all] Error 2
scangearmp >
scangearmp >
scangearmp > exit
exit

Script done on Fri 12 Nov 2010 05:08:50 PM CET

Die "command not found" verschwinden mit:

> export echo=echo

Info: https://bbs.archlinux.org/viewtopic.php?id=59737

This is a bug in the script libtool that tries to EXECUTE the parameters (prefixed with X) as if there were programs, unless the variable $echo is defined.

Schon sehr eigenartig würd ich sagen :???:

Roland
 
So ist es.

Das nächste wäre dann libcncpnet ??? ...scheint ziemlich hoffnungslos :???:

Roland
 
Ok, brechen wir die Sache ab, ist den Aufwand nicht wirklich wert. Wie schon geschrieben funktioniert
das Scannerteil gut mit Xsane.
Vielen herzlichen Dank für Eure Hilfe und das Ihr Euch die Zeit genommen habt.


Dietger
 
Oben