Nowe posty

Autor Wątek: Jaki Linux do kompa w knajpie.  (Przeczytany 5536 razy)

franz_67

  • Gość
Jaki Linux do kompa w knajpie.
« dnia: 2006-09-02, 18:52:08 »
Usiłuję zainstalować w Mandrivie 2006 hplip (umożliwia używanie drukarki TCP/IP). Kiedyż musi być ten pierwszy raz...
Postępuję wg. step-by-step z hplip-1.6.7/doc/install/step3/index.html.
Dlaczego po .configure nie mogę wykonać .make ?
Rezultat ./configure wygląda tak:

[root@localhost hplip-1.6.7]# ./configure --prefix=/usr
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... no
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for style of include used by make... none
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 ANSI C... none needed
checking dependency style of gcc... none
checking for a sed that does not truncate output... /bin/sed
checking for egrep... 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++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... none
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... 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... no
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... no
configure: creating libtool
appending configuration tag \\"CXX\\" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag \\"F77\\" to libtool
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) none
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 ANSI C... (cached) none needed
checking dependency style of gcc... (cached) none
checking for a BSD-compatible install... /usr/bin/install -c
checking for a Python interpreter with version >= 2.2... python
checking for python... /usr/bin/python
checking for python version... 2.4
checking for python platform... linux2
checking for python script directory... ${prefix}/lib/python2.4/site-packages
checking for python extension module directory... ${exec_prefix}/lib/python2.4/site-packages
checking for chkconfig... /sbin/chkconfig
checking for install_initd... no
checking for pthread_create in -lpthread... yes
checking for CRYPTO_free in -lcrypto... yes
checking for snmp_timeout in -lnetsnmp... yes
checking for usb_init in -lusb... no
configure: error: cannot find libusb support

I po dir w katalogu mamy:
[root@localhost hplip-1.6.7]# dir
aclocal.m4    configure     hplip.sh     makecopies.py  sendfax.py
align.py      configure.in  hpssd.py     Makefile.am    setup.py
backend       copier        info.py      Makefile.in    testpage.py
base          COPYING       __init__.py  makeuri.py     toolbox.py
check.py      data          install-sh   missing        ui
clean.py      depcomp       io           pcard          unload.py
colorcal.py   doc           ip           plugins
config.guess  fab.py        levels.py    print.py
config.log    fax           libtool      prnt
config.sub    hplip.conf    ltmain.sh    scan

Zaktualizowałem urpmi, pobrałem wszystkie wskazane w step-by-step pakiety i zależności. I nic.
Bardzo wdzięczny za pomoc...

Offline Robert

  • Administrator
  • Guru
  • *****
  • Wiadomości: 2516
    • Zobacz profil
Jaki Linux do kompa w knajpie.
« Odpowiedź #1 dnia: 2006-09-02, 19:16:41 »
Zainteresuj się mocniej tą linijką:

configure: error: cannot find libusb support

/Mozesz ją np. wkleić w goolge/
Zanim popełnisz grafomaństwo: 1 | 2 | 3
Baza RPM Jak szukać informacji

franz_67

  • Gość
Jaki Linux do kompa w knajpie.
« Odpowiedź #2 dnia: 2006-09-03, 02:38:45 »
2006-09-02 19:16:41 roca napisał:

> Zainteresuj się mocniej tą linijką:
 >
 > configure: error: cannot find libusb support
 >
 > /Mozesz ją np. wkleić w goolge/

Thx roca. Tak zrobiłem. Znalazłem odnośnik w tej samej instrukcji instalacji hplip-1.6.7 dot. FC5 i doszedłem do tego, że trzeba doinstalować libusb-devel. Pominęli to w liście pakietów do urpmi. Teraz już jest libusb. Niestety make nadal nie działa.
Po configure jest tak:

[root@localhost hplip-1.6.7]# ./configure --prefix=/usr
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... no
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for style of include used by make... none
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 ANSI C... none needed
checking dependency style of gcc... none
checking for a sed that does not truncate output... /bin/sed
checking for egrep... 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++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... none
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... 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... no
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... no
configure: creating libtool
appending configuration tag \\"CXX\\" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag \\"F77\\" to libtool
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) none
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 ANSI C... (cached) none needed
checking dependency style of gcc... (cached) none
checking for a BSD-compatible install... /usr/bin/install -c
checking for a Python interpreter with version >= 2.2... python
checking for python... /usr/bin/python
checking for python version... 2.4
checking for python platform... linux2
checking for python script directory... ${prefix}/lib/python2.4/site-packages
checking for python extension module directory... ${exec_prefix}/lib/python2.4/site-packages
checking for chkconfig... /sbin/chkconfig
checking for install_initd... no
checking for pthread_create in -lpthread... yes
checking for CRYPTO_free in -lcrypto... yes
checking for snmp_timeout in -lnetsnmp... yes
checking for usb_init in -lusb... yes
checking for ANSI C header files... (cached) yes
checking cups/cups.h usability... yes
checking cups/cups.h presence... yes
checking for cups/cups.h... yes
checking net-snmp/net-snmp-config.h usability... yes
checking net-snmp/net-snmp-config.h presence... yes
checking for net-snmp/net-snmp-config.h... yes
checking for an ANSI C-conforming const... yes
checking whether byte ordering is bigendian... no
checking for rpm install... no
checking for network build... yes
checking for parallel port build... yes
checking for fax build... yes
checking \\"for cups ppd path\\"... \\"using /usr/share/cups\\"
checking \\"for cups backend path\\"... \\"using /usr/lib/cups/backend\\"
checking \\"for icon directory\\"... \\"using /usr/lib/menu/hplip\\"
configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands
configure: configuring in prnt/hpijs
configure: running /bin/sh \\'./configure\\' --prefix=/usr  \\'--prefix=/usr\\' --enable-hplip-build --cache-file=/dev/null --srcdir=.
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... no
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for style of include used by make... none
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 ANSI C... none needed
checking dependency style of gcc... none
checking for a sed that does not truncate output... /bin/sed
checking for egrep... 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++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... none
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... 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... no
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
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag \\"F77\\" to libtool
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 ANSI C... (cached) none needed
checking dependency style of gcc... (cached) none
checking how to run the C preprocessor... gcc -E
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) none
checking for a BSD-compatible install... /usr/bin/install -c
checking for main in -lm... yes
checking for jpeg_set_defaults in -ljpeg... yes
checking for ANSI C header files... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for unistd.h... (cached) yes
checking jpeglib.h usability... yes
checking jpeglib.h presence... yes
checking for jpeglib.h... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether byte ordering is bigendian... no
checking for uint32_t... yes
checking \\"for platform-dependencies\\"... \\"using Default platform.h\\"
checking \\"for cups ppd path\\"... \\"using /usr/share/cups/model\\"
checking \\"for cups filter path\\"... \\"using /usr/lib/cups/filter\\"
checking \\"for cups install\\"... yes
checking \\"for foomatic install\\"... yes
checking \\"for hplip build\\"... yes
checking for working memcmp... yes
checking for strtod... yes
checking for strtol... yes
checking for pow... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands

Poszło zdecydowanie dalej, a jednak bash nadal nie zna make. :-(

Być może ma to coś wspólnego z trzecią linijką listingu:

checking whether make sets $(MAKE)... no

?

franz_67

  • Gość
Jaki Linux do kompa w knajpie.
« Odpowiedź #3 dnia: 2006-09-03, 02:41:47 »
2006-09-02 19:16:41 roca napisał:

> Zainteresuj się mocniej tą linijką:
 >
 > configure: error: cannot find libusb support
 >
 > /Mozesz ją np. wkleić w goolge/

A dalej już poszło:

# urpmi make

zainstalowało się... i działa make.
(three minutes later :-)
I make instalL też.
VICTORY!

Styks

  • Gość
Jaki Linux do kompa w knajpie.
« Odpowiedź #4 dnia: 2006-09-02, 14:17:58 »
Witam.
Jestem raczej zielony jesli chodzi o linuxa. jak dotad poznałem tylko Mandrake'a. A potrzebuje linuxa do komputera w knajpie, do oddtwarzania mp3'jek. Problem polega na tym ze ten komp to zabytek intel 200 Mhz 32 Mb. Prosilbym o radę:
- jaki linux (!potrzebny interfejs graficzny dla barmanek!)?
- jaki program do oddtwarzaniu mp3 (pod system j.w.)?
- czy lepsza bedzie dystrybucja uruchamiana z dyskietki/plyty czy instalowana na dysku?

Dzieki za wszelka pomoc.

  • Gość
Jaki Linux do kompa w knajpie.
« Odpowiedź #5 dnia: 2006-09-02, 15:46:12 »
2006-09-02 14:17:58 Styks napisał:

> Witam.
 > Jestem raczej zielony jesli chodzi o linuxa. jak dotad poznałem tylko Mandrake'a. A potrzebuje
 > linuxa do komputera w knajpie, do oddtwarzania mp3'jek. Problem polega na tym ze ten komp to
 > zabytek intel 200 Mhz 32 Mb. Prosilbym o radę:
 > - jaki linux (!potrzebny interfejs graficzny dla barmanek!)?
 > - jaki program do oddtwarzaniu mp3 (pod system j.w.)?
 > - czy lepsza bedzie dystrybucja uruchamiana z dyskietki/plyty czy instalowana na dysku?
 >
 > Dzieki za wszelka pomoc.
 >
 > Proponuję DSL (Damn Small Linux), chodzi nawet na 486DX i 16 MB RAM-u.
 > Z odtwarzaniem mp3 nie będzie problemu bo ma xmms, interfejs graficzny to fluxbox tak że barmanki też sobie poradzą :)
 > http://www.damnsmalllinux.org/

  • Gość
Jaki Linux do kompa w knajpie.
« Odpowiedź #6 dnia: 2006-09-03, 12:02:39 »
Dla samych mp3 to proponuje oczywiscie RH 7.1 - zapindziela na starych maszynach. Do dzisiaj korzystają z niego wytwórnie filmowe, które potrzebują czegoś małego i potężnego.

Oczywiście wymaga kilku dostosowań - m.in. wgrania bibliotek do mp3. Ale śmiga szybciej niż dzisiejsze systemy na nowych sprzętach :-)
Tak więc moja rada to Red Hat 7.1

  • Gość
Jaki Linux do kompa w knajpie.
« Odpowiedź #7 dnia: 2006-09-03, 12:10:12 »
A tak wogóle to dla samych MP3 najbardiej polecam BeOS'a 5 MAX. Bardzo szybki i ma już obsługę multimediów. Jedno ale - trza dodać jeszcze 32 MB ramu, bo nie ruszy gdy masz mniej niż 64.

Inna sprawa to także do MP3 możesz zainstalować darmową wersje QNX'a. Biblioteki graficzne zajmują 128 KB w pamięci :-) Trzeba przez "Install Packages" doinstalować biblioteki mp3.

Lepiej użyć czegoś innego niż linux - bo gdy zależy Ci na prostocie obsługi i konfiguracji to dystrybucje dla minimalistow Cię mogę troszeczkę załamać.