Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
make.conf wird ignoriert beim compilieren von source's?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
creative
n00b
n00b


Joined: 18 May 2003
Posts: 2

PostPosted: Sun May 18, 2003 1:39 pm    Post subject: make.conf wird ignoriert beim compilieren von source's? Reply with quote

hallo, ich muss mal was zur installation von anderen programmen auf gentoo fragen - und zwar, ich hab ein gentoo 1.4 installiert. erstmal mehr oder weniger zum probieren und wollte da nun mysql, apache, openssl, etc. - was man halt für ein webserver braucht installieren.

dabei ist mir aufgefallen, dass wenn ich die source's der anwendungen downloade und diese dann compiliere, dann werden da eigentlich nicht die vorgaben genommen, die ich einmal in der make.conf gemacht habe.

so wird mysql mit 'pentium' compiliert wenn ich mich nun nicht täusche und openssl gar mit 'm486'. ich hab mich dann etwas zu mysql belesen und hab die installation dann auch so durchlaufen lassen:

CFLAGS="-march=athlon-mp -O3 -pipe" CXX=gcc CXXFLAGS="-march=athlon-mp -O3 -pipe -felide-constructors -fno-exceptions -fno-rtti" ./configure --prefix=/web/app/mysql --localstatedir=/web/www/mysql --enable-assembler

geht wunderbar - ok, seh ich auch evtl. voll und ganz ein, wobei mich schon interessieren würde warum da diese vorgaben nicht genutzt werden? bei openssl klappt das allerdings so leider nicht mehr, da wird trotzdem 'm486' genommen und google hat mir da gestern auch nicht gross weitergeholfen.

nun ist halt die frage, ob mir das egal sein kann - oder mach ich da was falsch bzw. verstehe ich falsch? wenn möglich hätte ich schon alles ganz gern für athlon mp compiliert gehabt.
Back to top
View user's profile Send private message
toskala
Advocate
Advocate


Joined: 14 Dec 2002
Posts: 2080
Location: hamburg, germany

PostPosted: Sun May 18, 2003 1:47 pm    Post subject: Reply with quote

weil du beim händischen compilieren kein ebuild-file hast, welches die make.conf konsultiert.
_________________
adopt an unanswered post
erst denken, dann posten
Back to top
View user's profile Send private message
creative
n00b
n00b


Joined: 18 May 2003
Posts: 2

PostPosted: Tue May 20, 2003 10:57 pm    Post subject: Reply with quote

danke, hab nochmal im forum geschaut und da steht auch das man die ebuild-files sich anpassen kann (optionsmässig). erstmal muss es aber händisch tun :)

thx!
Back to top
View user's profile Send private message
sputnik1969
Guru
Guru


Joined: 08 Aug 2002
Posts: 401
Location: Berlin / Germany

PostPosted: Wed May 21, 2003 6:10 am    Post subject: Reply with quote

Wieso musst du es händisch tun, wenn es mit einem
Code:

emerge apache openssl mysql

genau so funktionieren sollte, wie du es eigentlich willst???

Zumindest bei mir ist openssl so compiliert (-march=i686), den rest habe ich nicht überprüft, aber einige Programme mögen halt keine optimierungen, wenn das ebuild da runterschaltet ist es schon besser, als wenn dir das Programm dauernd runterkommt...
_________________
'Cynic' is a word invented by optimists to criticize realists. - Nigel. In the ocean of Night by Gregory Benford
"Zyniker" ist ein Wort das Optimisten erfunden haben um Realisten zu kritisieren. - Nigel. Im Meer der Nacht von Gregory Benford
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum