Portál AbcLinuxu, 27. dubna 2024 02:06


Dotaz: Audacity a wxWidgets

29.8.2010 14:30 DWD | skóre: 18 | blog: papiry
Audacity a wxWidgets
Přečteno: 356×
Odpovědět | Admin

Mám Mandriva Linux 2008.0. Zkouším kompilovat audacity1.3.5. Configure chce ale po mě, abych měl nainstalovaný wxWidgets. Přitom v mých repozitářích žádný takový balík není. Proto jsem nainstaloval libwxgtkglu2.6 Verze: 2.6.4-13mdv2008.0; libwxgtkglu2.8 Verze: 2.8.4-3mdv2008.0; libwxgtkgl2.6 Verze: 2.6.4-13mdv2008.0; libwxgtkgl2.8 Verze: 2.8.4-3mdv2008.0; libwxgtku2.6-devel Verze: 2.6.4-13mdv2008.0; (libwxgtku2.6 Verze: 2.6.4-13mdv2008.0 balík nejde nainstalovat); libwxgtku2.8-devel Verze: 2.8.4-3mdv2008.0; libwxgtku2.8 Verze: 2.8.4-3mdv2008.0; (libwxgtk2.6-devel Verze: 2.6.4-13mdv2008.0 balík nejde nainstalovat); libwxgtk2.6 Verze: 2.6.4-13mdv2008.0; libwxgtk2.8-devel Verze: 2.8.4-3mdv2008.0; libwxgtk2.8 Verze: 2.8.4-3mdv2008.0. Ale nepomáhá to, configure pořád řve, že mu chybí wxWidget.

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 for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking for a BSD-compatible install... /usr/bin/install -c
checking for pkg-config... yes
checking CFLAGS for strict prototypes... -Wstrict-prototypes
checking wall_flags for maximum warnings... -Wall
checking for a sed that does not truncate output... /bin/sed
checking whether the C++ compiler accepts the  -Wall flag... yes
checking whether the C++ preprocessor accepts the  -Wall flag... yes
configure: Determining what libraries are available in this tree and on the system
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for SNDFILE... yes
configure: Libsndfile libraries are available as system libraries
checking for ./lib-src/libsndfile/src/sndfile.h.in... no
configure: libsndfile libraries are NOT available in this source tree
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -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 for XML_ParserCreate in -lexpat... yes
checking expat.h usability... yes
checking expat.h presence... yes
checking for expat.h... yes
configure: Expat libraries are available as system libraries
checking for ./lib-src/expat/xmlparse/xmlparse.h... yes
configure: Expat libraries are available in the local tree
checking for SAMPLERATE... yes
configure: Libsamplerate libraries are available as system libraries
checking for ./lib-src/libsamplerate/src/samplerate.h... no
configure: libsamplerate libraries are NOT available in the local tree
checking for ./lib-src/libresample/include/libresample.h... yes
configure: libresample libraries are available in the local tree
checking for vorbis_bitrate_addblock in -lvorbisfile... yes
checking vorbis/vorbisfile.h usability... yes
checking vorbis/vorbisfile.h presence... yes
checking for vorbis/vorbisfile.h... yes
configure: Vorbis libraries are available as system libraries
checking for ./lib-src/libvorbis/include/vorbis/vorbisenc.h... no
checking for ./lib-src/libogg/include/ogg/ogg.h... no
configure: Vorbis libraries are NOT available in this source tree
checking for LIBMAD... yes
checking for mad_decoder_init in -lmad... yes
configure: libmad libraries are available as system libraries
checking for ./lib-src/libmad/frame.h... no
configure: libmad libraries are NOT available in the local tree
checking for FLAC__stream_decoder_new in -lFLAC... yes
checking FLAC/format.h usability... yes
checking FLAC/format.h presence... yes
checking for FLAC/format.h... yes
configure: FLAC libraries are available as system libraries
checking for ./lib-src/libflac/include/FLAC/format.h... no
checking for ./lib-src/libflac/include/FLAC++/decoder.h... no
configure: FLAC libraries are NOT available in this source tree
checking for id3_file_open in -lid3tag... yes
checking id3tag.h usability... yes
checking id3tag.h presence... yes
checking for id3tag.h... yes
configure: Libid3tag libraries are available as system libraries
checking for ./lib-src/libid3tag/frame.h... no
configure: libid3tag libraries are NOT available in the local tree
checking for SOUNDTOUCH... yes
configure: Libsoundtouch libraries are available as system libraries
checking for ./lib-src/soundtouch/include/SoundTouch.h... no
configure: libsoundtouch libraries are NOT available in the local tree
checking for ./lib-src/libnyquist/nyx/nyx.h... yes
configure: nyquist libraries are available in the local tree
checking for VAMP... no
configure: Vamp libraries are NOT available as system libraries
checking for ./lib-src/libvamp/vamp-sdk/hostext/PluginLoader.h... yes
configure: Vamp libraries are available in the local tree
checking for LIBTWOLAME... no
configure: Libtwolame library NOT available as system library
checking for ./lib-src/twolame/libtwolame/twolame.h... no
configure: libtwolame library is NOT available in the local tree
configure: Figuring out what libraries to enable
configure: Using SYSTEM libraries for LIBVORBIS
configure: Using SYSTEM libraries for LIBMAD
configure: Using SYSTEM libraries for LIBSNDFILE
configure: Using SYSTEM libraries for LIBFLAC
configure: Using SYSTEM libraries for LIBID3TAG
configure: Using SYSTEM libraries for LIBSAMPLERATE
configure: Using LOCAL libraries for LIBRESAMPLE
configure: Using SYSTEM libraries for LIBSOUNDTOUCH
configure: Using LOCAL libraries for LIBNYQUIST
configure: Using LOCAL libraries for LIBVAMP
configure: Using SYSTEM libraries for LIBEXPAT
configure: disabling LIBTWOLAME
configure: Both libresample and libsamplerate are available
configure: deciding which to use based on arguments ...
configure: Libsamplerate not explicity requested, using libresample
checking for wx-config... /usr/bin/wx-config

  Warning: No config found to match: /usr/lib/wx/config/multiarch-i386-linux/gtk2-ansi-release-2.8 --static=yes --version
           in /usr/lib/wx/config
  If you require this configuration, please install the desired
  library build.  If this is part of an automated configuration
  test and no other errors occur, you may safely ignore it.
  You may use wx-config --list to see all configs available in
  the default prefix.

configure: Checking that the chosen version of wxWidgets is 2.6.x or 2.8.x
configure: error: Unable to locate a suitable configuration of wxWidgets v2.6.x or higher.
The currently available configurations are listed below.  If necessary, either
install the package for your distribution or download the latest version of
wxWidgets
from http://wxwidgets.org.

    Default config is gtk2-ansi-release-2.8

  Default config will be used for output

  Alternate matches:
    gtk2-unicode-release-2.8

  Also available in /usr:
    multiarch-i386-linux
[david@localhost audacity-src-1.3.5-beta]$                        

Potom nevím, kde ten balík wxWidget mám nabrat, žádný jiný balík tohoto typu v repozitářích nemám. Tak nevím, co po mě chce balíky, které neexistují.

Jsem kretén, který ví lautr hovno o Linuxu a o počítačích vůbec.
Nástroje: Začni sledovat (0) ?Zašle upozornění na váš email při vložení nového komentáře.

Odpovědi

29.8.2010 14:43 reqw5q23
Rozbalit Rozbalit vše Re: Audacity a wxWidgets
Odpovědět | | Sbalit | Link | Blokovat | Admin
Problemy toho typu se resi tak, ze se clovek mrkne po baliku ve kterem je wx-config nebo obecne zjisti proc to ho to nemuze najit.

Ten zapis co posilas je totalne neprehledny, ale zda se me, ze mixujes ruzne verze wxWidgets (to ovsem asi nebude ten hlavni problem).
29.8.2010 15:38 DWD | skóre: 18 | blog: papiry
Rozbalit Rozbalit vše Re: Audacity a wxWidgets
Ani balík, který má v názvu wx-config, v repozitářích nemám.
Jsem kretén, který ví lautr hovno o Linuxu a o počítačích vůbec.
29.8.2010 23:21 DNA
Rozbalit Rozbalit vše Re: Audacity a wxWidgets
a balík co má v názvu wx? třeba wx2.8-headers a podobně...
29.8.2010 23:23 chrono
Rozbalit Rozbalit vše Re: Audacity a wxWidgets
Programy/skripty nieco-config sú takmer vždy v devel balíčku (vlastne som ich nikde inde nevidel).
29.8.2010 23:34 chrono
Rozbalit Rozbalit vše Re: Audacity a wxWidgets
Všetky tie wx balíčky odinštaluj a nainštaluj len libwxgtk2.8 a libwxgtk2.8-devel. Tie libwxgtku sú unicode verzie balíčkov (a keďže ti ich ten program nenájde, asi ich nepoužíva).
31.8.2010 16:13 DWD | skóre: 18 | blog: papiry
Rozbalit Rozbalit vše Re: Audacity a wxWidgets

Už jsem ty balíky odinstaloval a nainstaloval jsem si

- libwxgtk2.8-2.8.4-3mdv2008.0.i586
- libwxgtk2.8-devel-2.8.4-3mdv2008.0.i586
- libwxgtkgl2.8-2.8.4-3mdv2008.0.i586
Ten třetí si vyžádaly závislosti.

To nepomohlo, pořád to píše

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 for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking for a BSD-compatible install... /usr/bin/install -c
checking for pkg-config... yes
checking CFLAGS for strict prototypes... -Wstrict-prototypes
checking wall_flags for maximum warnings... -Wall
checking for a sed that does not truncate output... /bin/sed
checking whether the C++ compiler accepts the  -Wall flag... yes
checking whether the C++ preprocessor accepts the  -Wall flag... yes
configure: Determining what libraries are available in this tree and on the system
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for SNDFILE... yes
configure: Libsndfile libraries are available as system libraries
checking for ./lib-src/libsndfile/src/sndfile.h.in... no
configure: libsndfile libraries are NOT available in this source tree
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -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 for XML_ParserCreate in -lexpat... yes
checking expat.h usability... yes
checking expat.h presence... yes
checking for expat.h... yes
configure: Expat libraries are available as system libraries
checking for ./lib-src/expat/xmlparse/xmlparse.h... yes
configure: Expat libraries are available in the local tree
checking for SAMPLERATE... yes
configure: Libsamplerate libraries are available as system libraries
checking for ./lib-src/libsamplerate/src/samplerate.h... no
configure: libsamplerate libraries are NOT available in the local tree
checking for ./lib-src/libresample/include/libresample.h... yes
configure: libresample libraries are available in the local tree
checking for vorbis_bitrate_addblock in -lvorbisfile... yes
checking vorbis/vorbisfile.h usability... yes
checking vorbis/vorbisfile.h presence... yes
checking for vorbis/vorbisfile.h... yes
configure: Vorbis libraries are available as system libraries
checking for ./lib-src/libvorbis/include/vorbis/vorbisenc.h... no
checking for ./lib-src/libogg/include/ogg/ogg.h... no
configure: Vorbis libraries are NOT available in this source tree
checking for LIBMAD... yes
checking for mad_decoder_init in -lmad... yes
configure: libmad libraries are available as system libraries
checking for ./lib-src/libmad/frame.h... no
configure: libmad libraries are NOT available in the local tree
checking for FLAC__stream_decoder_new in -lFLAC... yes
checking FLAC/format.h usability... yes
checking FLAC/format.h presence... yes
checking for FLAC/format.h... yes
configure: FLAC libraries are available as system libraries
checking for ./lib-src/libflac/include/FLAC/format.h... no
checking for ./lib-src/libflac/include/FLAC++/decoder.h... no
configure: FLAC libraries are NOT available in this source tree
checking for id3_file_open in -lid3tag... yes
checking id3tag.h usability... yes
checking id3tag.h presence... yes
checking for id3tag.h... yes
configure: Libid3tag libraries are available as system libraries
checking for ./lib-src/libid3tag/frame.h... no
configure: libid3tag libraries are NOT available in the local tree
checking for SOUNDTOUCH... yes
configure: Libsoundtouch libraries are available as system libraries
checking for ./lib-src/soundtouch/include/SoundTouch.h... no
configure: libsoundtouch libraries are NOT available in the local tree
checking for ./lib-src/libnyquist/nyx/nyx.h... yes
configure: nyquist libraries are available in the local tree
checking for VAMP... no
configure: Vamp libraries are NOT available as system libraries
checking for ./lib-src/libvamp/vamp-sdk/hostext/PluginLoader.h... yes
configure: Vamp libraries are available in the local tree
checking for LIBTWOLAME... no
configure: Libtwolame library NOT available as system library
checking for ./lib-src/twolame/libtwolame/twolame.h... no
configure: libtwolame library is NOT available in the local tree
configure: Figuring out what libraries to enable
configure: Using SYSTEM libraries for LIBVORBIS
configure: Using SYSTEM libraries for LIBMAD
configure: Using SYSTEM libraries for LIBSNDFILE
configure: Using SYSTEM libraries for LIBFLAC
configure: Using SYSTEM libraries for LIBID3TAG
configure: Using SYSTEM libraries for LIBSAMPLERATE
configure: Using LOCAL libraries for LIBRESAMPLE
configure: Using SYSTEM libraries for LIBSOUNDTOUCH
configure: Using LOCAL libraries for LIBNYQUIST
configure: Using LOCAL libraries for LIBVAMP
configure: Using SYSTEM libraries for LIBEXPAT
configure: disabling LIBTWOLAME
configure: Both libresample and libsamplerate are available
configure: deciding which to use based on arguments ...
configure: Libsamplerate not explicity requested, using libresample
checking for wx-config... /usr/bin/wx-config

  Warning: No config found to match: /usr/lib/wx/config/multiarch-i386-linux/gtk2-ansi-release-2.8 --static=yes --version
           in /usr/lib/wx/config
  If you require this configuration, please install the desired
  library build.  If this is part of an automated configuration
  test and no other errors occur, you may safely ignore it.
  You may use wx-config --list to see all configs available in
  the default prefix.

configure: Checking that the chosen version of wxWidgets is 2.6.x or 2.8.x
configure: error: Unable to locate a suitable configuration of wxWidgets v2.6.x or higher.
The currently available configurations are listed below.  If necessary, either
install the package for your distribution or download the latest version of
wxWidgets
from http://wxwidgets.org.

    Default config is gtk2-ansi-release-2.8

  Default config will be used for output

  Also available in /usr:
    multiarch-i386-linux
[david@localhost audacity-src-1.3.5-beta]$ 

Jsem kretén, který ví lautr hovno o Linuxu a o počítačích vůbec.
31.8.2010 18:38 chrono
Rozbalit Rozbalit vše Re: Audacity a wxWidgets
Neviem kedy, ale v Mandrive zmenili názov toho skriptu na wx-config-ansi (asi kvôli tomu, že majú aj unicode verziu). Takže asi najjednoduchšie riešenie bude urobiť link wx-config na ten wx-config-ansi (prípadne upravíš configure tak, aby sa tam používal ten wx-config-ansi skript).
1.9.2010 16:15 DWD | skóre: 18 | blog: papiry
Rozbalit Rozbalit vše Re: Audacity a wxWidgets
Jak upravit soubor configure, nevím. Ale vpoměl jsem si, jak jsem vyráběl balík ze zdrojového balíku audacity-1.3.4-6mdv2008.1.src.rpm, vyrobit balík mi taky nešlo, odmítalo mi to uznat nainstalované knihovny libwxgtku-devel a libwxgtku, které jsem měl kvůli požadavkům schválně nainstalované a neustále to po mě chtělo wxgtku-devel a wxgtku a přitom takové balíky neexistují. Nakonec stačilo upravit soubor spec tak, že v požadavcích jsem wxgtku2.8-devel přepsal na libwxgtku2.8-devel a už mi to přestalo hlásit chybu a balík mi to už vyrobilo. Takže jestli teď náhodou není podobná situace při tom kompilování, jak předtím při výrobě balíku. Jestli něco podobného nemám přepsat v souboru configure.
Jsem kretén, který ví lautr hovno o Linuxu a o počítačích vůbec.
1.9.2010 16:30 chrono
Rozbalit Rozbalit vše Re: Audacity a wxWidgets
Vyskúšaj:
WX_CONFIG=/usr/bin/wx-config-ansi configure
1.9.2010 17:05 DWD | skóre: 18 | blog: papiry
Rozbalit Rozbalit vše Re: Audacity a wxWidgets
Tak jsem to vyzkoušel. V tom souboru configure (řádek číslo 700) jsem si našel řádek WX_CONFIG a ten jsem dopsal na WX_CONFIG=/usr/bin/wx-config-ansi configure a nepomáhá to. Pořád to ./configure hlásí úplně stejnou chybu, jak předtím.
Jsem kretén, který ví lautr hovno o Linuxu a o počítačích vůbec.
1.9.2010 17:44 chrono
Rozbalit Rozbalit vše Re: Audacity a wxWidgets
Daj tam neupravený súbor configure a potom spusť ten príkaz, čo som písal vyššie (tak sa namiesto wx-config použije wx-config-ansi).
2.9.2010 16:00 DWD | skóre: 18 | blog: papiry
Rozbalit Rozbalit vše Re: Audacity a wxWidgets
Tak už jsem ten příkaz pochopil - při zadávání příkazu ./configure jsem před ten příkaz připsal WX_CONFIG=/usr/bin/wx-config-ansi , ale stejně to nepomáhá. Úplně stejné chyby to hlásí, jak předtím a to včetně
configure: error: Unable to locate a suitable configuration of wxWidgets v2.6.x or higher.
The currently available configurations are listed below.  If necessary, either
install the package for your distribution or download the latest version of
wxWidgets
from http://wxwidgets.org.
Jsem kretén, který ví lautr hovno o Linuxu a o počítačích vůbec.
2.9.2010 16:46 chrono
Rozbalit Rozbalit vše Re: Audacity a wxWidgets
Mohol si napísať aj to, čo je pred tou a za tou chybovou hláškou (pred ňou by malo byť, že sa používa wx-config-ansi a podľa toho textu by aj za tým malo byť niečo dôležité).
2.9.2010 16:52 DWD | skóre: 18 | blog: papiry
Rozbalit Rozbalit vše Re: Audacity a wxWidgets
Píše to pořád úplně to samé, co jsem psal v prvním přispěvku.
Jsem kretén, který ví lautr hovno o Linuxu a o počítačích vůbec.
2.9.2010 17:24 DWD | skóre: 18 | blog: papiry
Rozbalit Rozbalit vše Re: Audacity a wxWidgets
Tak se mi konečně povedlo dotáhnout kompilaci až do konce, od configure, make, až po meke install a to dokonce bez roota, do domácího adresáře, což jsem chtěl. Příkaz configure jsem nakonec použil v podobě ./configure --prefix=/home/david/kompilace/jamyn , ale musel jsem vynechat paremetr --enable-static, který jsem předtím pořád používal (zapoměl jsem to tu napsat) a který za to asi mohl, že se mi ta kompilace pořád nedařila. Tento parametr jsem chtěl použít, abych kompilaci vylepšil. Chtěl jsem totíž, aby se mi přeložily úplně všechny zdrojové soubory a celé, bez ohledu na to, jaké knihovny a soubory mám v systému, protože jsem chtěl, abych měl v te složce, do které se mi to má instalovat, bylo obsažené úplně všechno, co aplikace potřebuje ke své funkci, a abych tu složku s nakompilovaným programem mohl použít i tak, že si ji okopíruji do dalšího počítače, ve kterém nemusí být stejné knihovny a soubory a třeba i do počítače, ve kterém nemusí být stejný linux, ale třeba jiný. Bylo by to možné? Úplně nebo aspoň částečně. A co bych potřeboval? Jinak jsem si po dokončení make všimnul hlášení "přeložené zprávy - počet, nepřeložené zprávy - počet, neúplně přeložené zprávy - počet" jestli tomu dobře rozumím, kompilovalo se mi z celého zdrojového kódu jenom to, co v systému chybělo, ne všechno.
Jsem kretén, který ví lautr hovno o Linuxu a o počítačích vůbec.
2.9.2010 17:53 chrono
Rozbalit Rozbalit vše Re: Audacity a wxWidgets
Ten koniec súvisí s prekladmi toho programu do rôznych jazykov.

Ak by si chcel ten program statický, musel by si mať statické devel balíčky (nechce sa mi pozerať, či sú v tej Mandrive dostupné aj statické balíčky pre wxWidgets). Inak väčšina potrebných knižníc je dosť stabilná, takže kompilovať ich do toho programu staticky je zbytočné. Dôležité je hlavne to, aby si pri kompilovaní použil staršiu verziu tej knižnice (aby program nepoužíval nové vlastnosti).

Každopádne ak niekto používa Linux, tak by mal používať aj repozitáre použitej distribúcie, takže vyrábanie statických programov je úplne zbytočné (teda ak k tomu nie je naozaj vážny dôvod).

Čiže, dá sa vytvoriť program, ktorý bude obsahovať potrebné knižnice a/alebo bude skompilovaný staticky, ale ak k tomu nie je závažný dôvod, je s tým zbytočne veľa práce.
2.9.2010 18:26 DWD | skóre: 18 | blog: papiry
Rozbalit Rozbalit vše Re: Audacity a wxWidgets

A šlo by to i takto? Kompilovat program do domácího adresáře s použitím parametru prefix u configure. Taky bych tam přidával parametr enable static. Když se zahlásí chyba o chybějící knihovně, tak si tu chybějící knihovnu nakompiluji ze zdrojového kódu, a to do toho samého adresáře jako předtím, to je použít stejný prefix, jak předtím a taky enable static. Tímto způsobem bych plnil všechny požadavky toho programu a třeba i požadavky požadavků, dokud v tom adresáři nebudou všechny splněné požadavky a nakonec bych stejným způsobem zkompiloval ten program.

Jinak mám dotaz. Ať už bych kompiloval staticky nebo normálně. Když kompiluji do vybraného domácího adresáře, pomoci parametru prefix v příkazu ./configure, budou v tom adresáři kromě programu i různé soubory s nastavením toho programu, profily a podobně. Bývá to? Pokud ano, hledá je ten program pomoci absolutní cesty, nebo relativní. Protože mi jde o to, že kdybych adresář s tím nakompilovaným a nainstalovaným programem někam přesunul, nebo přejmenoval některý adresář nad ním, tak mi jde o to, aby se funkce těch souborů nenarušilo a aby to ten program stále uměl najít. Například u Audacity jsem tam zahlédl soubory s moduly, a i jiné věci.

Jsem kretén, který ví lautr hovno o Linuxu a o počítačích vůbec.
2.9.2010 19:56 chrono
Rozbalit Rozbalit vše Re: Audacity a wxWidgets
Musel by si configure skriptu povedať, kde má tie knižnice hľadať, inak by ich hľadal v systémových adresároch (čo by pri statických balíčkoch až tak nevadilo, ale urobiť statické balíčky úplne všetkého je dosť komplikované a boli by obrovské). Pri veľkom počte knižníc stačí nastaviť, aby sa súbory pre pkg-config hľadal niekde inde, pri iných knižniciach sa to môže robiť inak.

To, či sa budú používať absolútne cesty závisí od samotného programu. Niektoré cesty sa môžu dať zmeniť pomocou premenných prostredia, niektoré sa môžu dať zmeniť cez konfiguračné súbory a iné sa môžu dať zmeniť len skompilovaním (čiže záleží na konkrétnom programe).

Ale ako som už písal, vôbec nevidím zmysel niečo také robiť a je lepšie používať systémové knižnice (napr. kvôli tomu, že sa pri oprave nejakej chyby nemusí zase úplne všetko kompilovať, ale to ti už písali).

Založit nové vláknoNahoru

Tiskni Sdílej: Linkuj Jaggni to Vybrali.sme.sk Google Del.icio.us Facebook

ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.