Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Probleme mit dem mySQL Build
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
prodigy7
n00b
n00b


Joined: 02 Jul 2004
Posts: 30

PostPosted: Wed Dec 08, 2004 9:54 pm    Post subject: Probleme mit dem mySQL Build Reply with quote

Hallo,

ich habe das Problem, das wenn ich MySQL baue, er an jedes Binary den Zusatz i686-pc-linux-gnu- hängt. Also statt mysqld heißt der Daemon z.B. i686-pc-linux-gnu-mysqld.
Zuerst dachte ich, das läge an den Env-Variablen vom GCC aber auch mit abgeänderten Variablen habe ich immer noch das selbe ergebnis.
Ich hab auch MySQL mehrmals gebaut, unmerged usw aber immer mit dem selben Resultat. Da ich mehrere Gentoo Rechner habe mit MySQL und bis jetzt das noch nie auf den anderen Rechnern aufgetretten ist. bin ich etwas Ratlos,
Kennt jemand das Problem und kann mir einen Tipp geben wie ich das Prefix i686-pc-linux-gnu- weg bekomme ?

MySQL: i686-pc-linux-gnu-mysqld Ver 4.0.22 for pc-linux-gnu on i686 (Gentoo Linux mysql-4.0.22)

make.conf:
Code:
CFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"
AUTOCLEAN="yes"
LINGUAS="de"
ACCEPT_KEYWORDS="~x86"
USE="-java -java2 -X -kde -alsa -gnome -qt -gtk -jpeg -cups -gtk2 -oss -gif -opengl -png -quicktime -sdl -truetype -xmms -ldap apache2 truetype png gd gd-external tiff ssl zlib xml xml2"


Gruß, prodigy7
Back to top
View user's profile Send private message
Deever
Veteran
Veteran


Joined: 06 Jul 2002
Posts: 1354
Location: Zürich / Switzerland

PostPosted: Wed Dec 08, 2004 10:59 pm    Post subject: Reply with quote

Ich vermute mal, es liegt am Ebuild, bringt ein 'emerge sync' etwas?

Gruß,
/dev
Back to top
View user's profile Send private message
prodigy7
n00b
n00b


Joined: 02 Jul 2004
Posts: 30

PostPosted: Thu Dec 09, 2004 6:41 am    Post subject: Reply with quote

Deever wrote:
Ich vermute mal, es liegt am Ebuild, bringt ein 'emerge sync' etwas?
Nein, leider nicht... hab schon extra das MySQL Verzeichnis gelöscht und ein emerge sync durchgeführt, aber ohne Erfolg. Ich hab mal das Ebuild gestartet und während des compilieren abgebrochen. Als ich in die Datei Makeconf geguckt hab, hab ich tatsächlich auch dieses Prefix gefunden, ich kann mir aber nicht erklären warum er das setzt bzw wo er das her holt.

Gruß, p7
Back to top
View user's profile Send private message
prodigy7
n00b
n00b


Joined: 02 Jul 2004
Posts: 30

PostPosted: Thu Dec 09, 2004 7:12 am    Post subject: Reply with quote

Für die weitere Fehleranalyse:

Ich hab auch natürlich versucht, MySQL zu starten was daran scheiterte, dass natürlich der Name nicht stimmt:

Code:
gateway files # /etc/init.d/mysql start
/etc/init.d/mysql: line 16: my_print_defaults: command not found
 * Your mysql doesn't have any datadir setting, default or specific
 * Please check your my.cnf

Die Datei my_print_defaults ist natürlich vorhanden, halt nur mit dem schon genannten Prefix!

Und ich hab auch versucht, via ebuild config zu gucken was er macht:

Code:
gateway files # ebuild /var/db/pkg/dev-db/mysql-4.0.22/mysql-4.0.22.ebuild config
 * Press ENTER to create the mysql database and set proper
 * permissions on it, or Control-C to abort now...

/var/db/pkg/dev-db/mysql-4.0.22/mysql-4.0.22.ebuild: line 212: //usr/bin/mysql_install_db: No such file or directory
/var/db/pkg/dev-db/mysql-4.0.22/mysql-4.0.22.ebuild: line 219: my_print_defaults: command not found


Gruß, p7
Back to top
View user's profile Send private message
prodigy7
n00b
n00b


Joined: 02 Jul 2004
Posts: 30

PostPosted: Fri Dec 10, 2004 7:04 am    Post subject: Reply with quote

Also ich konnte mittlerweile rausfinden, das es an dem Eintrag
program_transform_name = s,^, i686-pc-linux-gnu-,
im Makefile liegt ... aber wieso und woher er das holt weis ich leider nicht :-(

Gruß, p7
Back to top
View user's profile Send private message
Deever
Veteran
Veteran


Joined: 06 Jul 2002
Posts: 1354
Location: Zürich / Switzerland

PostPosted: Fri Dec 10, 2004 7:46 am    Post subject: Reply with quote

Hmm...ein einfaches Umbenennen der Dateien funktioniert nicht?

HTH!
/dev
Back to top
View user's profile Send private message
prodigy7
n00b
n00b


Joined: 02 Jul 2004
Posts: 30

PostPosted: Fri Dec 10, 2004 7:51 am    Post subject: Reply with quote

Deever wrote:
Hmm...ein einfaches Umbenennen der Dateien funktioniert nicht?
Umbennen bzw. Symlinks setzen wäre eine Lösung ja... nur ist halt die Frage, ob nicht irgendwann bei anderen Programmen auch dieses Suffix mit dran gehängt wird und irgendwann mein System ganz aus dem tritt kommt. Dann würd ich wenn es überhaupt nicht anders geht lieber ins ebuild ne Zeile reinhängen welche die Zeile mit sed verändert.
Interessant wäre halt die Ursache an der Wurzel zu packen.... ich weis aber langsam nicht mehr wo ich suchen soll :-(

Gruß, p7

Edit: Also ich hab mySQL jetzt mehrmals durchcompiliert und jetzt plötzlich hat er es mal richtig gemacht... keine ahnung warum wieso weshalb...
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