doktor5000 hat geschrieben:Gibt es einen bestimmten Grund, warum du boost nicht aus den Paketquellen von Mageia verwendest?
man-draker hat geschrieben:doktor5000 hat geschrieben:Gibt es einen bestimmten Grund, warum du boost nicht aus den Paketquellen von Mageia verwendest?
Evtl. weil er die Pakete boost-build und boost-jam nicht gefunden hat.
man-draker hat geschrieben:doktor5000 hat geschrieben:Gibt es einen bestimmten Grund, warum du boost nicht aus den Paketquellen von Mageia verwendest?
Evtl. weil er die Pakete boost-build und boost-jam nicht gefunden hat.
Bei urpmq muss man dafür den Parameter -y einsetzen, bei rpmDrake den Filter auf "alle" stellen.
Da schokotimmi erst einen Monat registriert ist und erst 8 Posts hat, ist er evtl. noch nicht auf Du und Du mit der Paketsuche.
Dass das geschilderte Vorgehen eine erschreckende Unkenntnis der Techniken für jemanden offenbart, der anscheinend ein Entwicklungswerkzeug installieren will, steht auf einem anderen Blatt, wird aber evtl. auch noch eine Erklärung finden.
(Aus den Infos zu den Paketen zu schließen, kann eine sein, dass ein bisher unter Windows arbeitender Entwickler einen Port versucht.)
Dass das geschilderte Vorgehen eine erschreckende Unkenntnis der Techniken für jemanden offenbart...
doktor5000 hat geschrieben:man-draker hat geschrieben:doktor5000 hat geschrieben:Gibt es einen bestimmten Grund, warum du boost nicht aus den Paketquellen von Mageia verwendest?
Evtl. weil er die Pakete boost-build und boost-jam nicht gefunden hat.
Aha, aber wofür braucht man die? Mir geht es erstmal darum, warum er es kompilieren will und wofür er es braucht.
Wie man das dann am einfachsten/saubersten hinbekommt folgt nach der Beantwortung und ist erstmal zweitrangig.
doktor5000 hat geschrieben:Du bist immer noch nicht auf die Frage eingegangen, warum du es denn kompilieren willst ...?
Desweiteren habe ich deine anfängliche Frage ja beantwortet.
schokotimmi hat geschrieben:Aber anscheinend bin ich hier nur von Genialen umgeben...
ich möchte Boost installieren und kompilieren.
Also: Boost nach /usr/local kopieren. Dann mit tar.bz2 entpacken. ...
Nur, ich muss diesen gesamten Vorgang als root ausführen. Mache ich das nun als sudo, oder muss ich mich als root anmelden?
Welche Befehlsreihenfolge muss ich überhaupt eingeben, um die Boost-Bibliotheken nach /usr/local zu kopieren?...
schokotimmi hat geschrieben:Aber anscheinend bin ich hier nur von Genialen umgeben...
Und wenn du fein artig bist, dann erkläre ich dir, warum ich so genial bin...

[root@localhost ~]# urpmi boost-build
Pour satisfaire les dépendances, les paquetages suivants vont être installés :
Paquetage Version Révision Arch
(média « Core Release »)
boost-build 1.54.0 8.mga4 noarch
boost-jam 3.1.18 3.mga4 x86_64
un espace additionnel de 2.9Mo sera utilisé.
591Ko de paquets seront récupérés.
Procéder à l'installation des 2 paquetages ? (O/n) o
http://mirrors.mageia.org/api/mageia.4.x86_64.list: media/core/release/boost-jam-3.1.18-3.mga4.x86_64.rpm
http://mirrors.mageia.org/api/mageia.4.x86_64.list: media/core/release/boost-build-1.54.0-8.mga4.noarch.rpm
installation de boost-jam-3.1.18-3.mga4.x86_64.rpm boost-build-1.54.0-8.mga4.noarch.rpm depuis /var/cache/urpmi/rpms
Préparation... ########################################################################################
1/2: boost-jam ########################################################################################
2/2: boost-build ########################################################################################
checking boost/shared_ptr.hpp usability... no
checking boost/shared_ptr.hpp presence... no
checking for boost/shared_ptr.hpp... no
configure: error: boost headers not foundboost-devel installiert?INSTALL hat geschrieben:Dependencies (libraries that need to be present before the tarball compiles)
============================================================================
pcre-devel
aspell-devel
boost
boost-devel
xerces-c
xerces-c-devel
libxml-devel
libxslt-devel
expat-devel
Latte hat geschrieben:boost-devel installiert?INSTALL hat geschrieben:Dependencies (libraries that need to be present before the tarball compiles)
============================================================================
boost
boost-devel
je nachdem ob 64 oder 32bit: lib64boost-devel oder libboost-devel
[root@localhost ~]# urpmi boost-devel
Le paquetage lib64boost-devel-1.54.0-8.mga4.x86_64 est déjà installé
doktor5000 hat geschrieben:In die config.log schauen und kucken welche Bibliothek ihm sonst noch fehlt und wo er sucht.
| #include <boost/shared_ptr.hpp>
configure:15942: result: no
configure:15942: checking boost/shared_ptr.hpp presence
configure:15942: -Wall -g -fexceptions -I/usr/lib64/wx/include/ -I/usr/lib64/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ conftest.cpp
./configure: line 1872: -Wall: command not found
configure:15942: $? = 127
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "xmlcopyeditor"
...
| #include <boost/shared_ptr.hpp>
configure:15942: result: no
configure:15942: checking for boost/shared_ptr.hpp
configure:15942: result: no
configure:15946: error: boost headers not found
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=x86_64-unknown-linux-gnu
ac_cv_c_compiler_gnu=yes
[doktor5000@Mageia4 xmlcopyeditor-1.2.1.3]$ ./configure
[...]
checking boost/shared_ptr.hpp usability... yes
checking boost/shared_ptr.hpp presence... yes
checking for boost/shared_ptr.hpp... yes
checking xercesc/util/PlatformUtils.hpp usability... no
checking xercesc/util/PlatformUtils.hpp presence... no
checking for xercesc/util/PlatformUtils.hpp... no
configure: error: Xerces-C headers not found
[doktor5000@Mageia4 xmlcopyeditor-1.2.1.3]$
[doktor5000@Mageia4 xmlcopyeditor-1.2.1.3]$ rpm -qa | grep boost | sort
lib64boost-devel-1.54.0-8.mga4
lib64boost_atomic1.54.0-1.54.0-8.mga4
lib64boost_chrono1.54.0-1.54.0-8.mga4
lib64boost_context1.54.0-1.54.0-8.mga4
lib64boost_date_time1.54.0-1.54.0-8.mga4
lib64boost_filesystem1.54.0-1.54.0-8.mga4
lib64boost_graph1.54.0-1.54.0-8.mga4
lib64boost_iostreams1.54.0-1.54.0-8.mga4
lib64boost_locale1.54.0-1.54.0-8.mga4
lib64boost_log1.54.0-1.54.0-8.mga4
lib64boost_math1.54.0-1.54.0-8.mga4
lib64boost_prg_exec_monitor1.54.0-1.54.0-8.mga4
lib64boost_program_options1.54.0-1.54.0-8.mga4
lib64boost_python1.54.0-1.54.0-8.mga4
lib64boost_random1.54.0-1.54.0-8.mga4
lib64boost_regex1.54.0-1.54.0-8.mga4
lib64boost_serialization1.54.0-1.54.0-8.mga4
lib64boost_signals1.54.0-1.54.0-8.mga4
lib64boost_system1.54.0-1.54.0-8.mga4
lib64boost_thread1.54.0-1.54.0-8.mga4
lib64boost_timer1.54.0-1.54.0-8.mga4
lib64boost_unit_test_framework1.54.0-1.54.0-8.mga4
lib64boost_wave1.54.0-1.54.0-8.mga4
lib64boost_wserialization1.54.0-1.54.0-8.mga4doktor5000 hat geschrieben:Nach der Installation von xerces-c-devel läuft es dann erfolgreich durch.
checking for pcre.h... yes
checking boost/shared_ptr.hpp usability... no
checking boost/shared_ptr.hpp presence... no
checking for boost/shared_ptr.hpp... no
configure: error: boost headers not found
[root@localhost ~]# rpm -qa | grep boost | sort
boost-build-1.54.0-8.mga4
boost-jam-3.1.18-3.mga4
lib64boost-devel-1.54.0-8.mga4
lib64boost_atomic1.54.0-1.54.0-8.mga4
lib64boost_chrono1.54.0-1.54.0-8.mga4
lib64boost_context1.54.0-1.54.0-8.mga4
lib64boost_date_time1.54.0-1.54.0-8.mga4
lib64boost_filesystem1.54.0-1.54.0-8.mga4
lib64boost_graph1.54.0-1.54.0-8.mga4
lib64boost_iostreams1.54.0-1.54.0-8.mga4
lib64boost_locale1.54.0-1.54.0-8.mga4
lib64boost_log1.54.0-1.54.0-8.mga4
lib64boost_math1.54.0-1.54.0-8.mga4
lib64boost_prg_exec_monitor1.54.0-1.54.0-8.mga4
lib64boost_program_options1.54.0-1.54.0-8.mga4
lib64boost_python1.54.0-1.54.0-8.mga4
lib64boost_random1.54.0-1.54.0-8.mga4
lib64boost_regex1.54.0-1.54.0-8.mga4
lib64boost_serialization1.54.0-1.54.0-8.mga4
lib64boost_signals1.54.0-1.54.0-8.mga4
lib64boost_system1.54.0-1.54.0-8.mga4
lib64boost_thread1.54.0-1.54.0-8.mga4
lib64boost_timer1.54.0-1.54.0-8.mga4
lib64boost_unit_test_framework1.54.0-1.54.0-8.mga4
lib64boost_wave1.54.0-1.54.0-8.mga4
lib64boost_wserialization1.54.0-1.54.0-8.mga4
doktor5000 hat geschrieben:task-c++-devel ist installiert?
[root@localhost ~]# urpmi task-c++-devel
Afin de satisfaire les dépendances de « ctags », un des paquetages suivants est nécessaire :
1- ctags-5.8-7.mga4.x86_64 : Generates an index (or "tag") file for objects found in source files (à installer)
2- xemacs-extras-21.4.22-24.mga4.x86_64 : Files that XEmacs has in common with GNU Emacs (à installer)
Que choisissez-vous ? (1-2) 1
Pour satisfaire les dépendances, les paquetages suivants vont être installés :
Paquetage Version Révision Arch
(média « Core Release »)
autoconf 2.69 4.mga4 noarch
automake 1.14 3.mga4 noarch
bison 3.0.2 1.mga4 x86_64
byacc 20130925 2.mga4 x86_64
ctags 5.8 7.mga4 x86_64
flex 2.5.37 3.mga4 x86_64
libtool 2.4.2 11.mga4 x86_64
libtool-base 2.4.2 11.mga4 x86_64
m4 1.4.17 2.mga4 x86_64
make 4.0 2.mga4 x86_64
perl-libintl-perl 1.230.0 2.mga4 x86_64
task-c++-devel 2011.0 3.mga4 noarch
task-c-devel 2011.0 3.mga4 noarch
texinfo 5.2 3.mga4 x86_64
(média « Core Updates »)
gcc-c++ 4.8.2 3.2.mga4 x86_64
un espace additionnel de 39Mo sera utilisé.
10Mo de paquets seront récupérés.
Procéder à l'installation des 15 paquetages ? (O/n) o
checking pkg-config is at least version 0.9.0... yes
checking for ENCHANT... no
checking aspell.h usability... no
checking aspell.h presence... no
checking for aspell.h... no
configure: error: Aspell headers not found
flink hat geschrieben:doktor5000 hat geschrieben:task-c++-devel ist installiert?
Nein, das ist nicht installiert gewesen. Ich habe es nun installiert, und die letzte Fehlermeldung über "boost" ist weg.
flink hat geschrieben:configure: error: Aspell headers not found
[/code]
[doktor5000@Mageia4 ~]$ urpmf '/aspell.h$'
lib64aspell-devel:/usr/include/aspell.h
libaspell-devel:/usr/include/aspell.hdoktor5000 hat geschrieben:flink hat geschrieben:doktor5000 hat geschrieben:task-c++-devel ist installiert?
Nein, das ist nicht installiert gewesen. Ich habe es nun installiert, und die letzte Fehlermeldung über "boost" ist weg.
Dir haben make und der c++-Compiler gefehlt, unter anderem.
doktor5000 hat geschrieben:Schön, das nächste Mal aber keinen bestehenden Thread kapern sondern einen eigenen anfangen.
Mitglieder in diesem Forum: 0 Mitglieder und 1 Gast