PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > comp.databases.mysql > Building from source on Mac OS X Leopard
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Building from source on Mac OS X Leopard

Réponse
 
LinkBack Outils de la discussion
Vieux 30/10/2007, 22h22   #1
Wincent Colaiuta
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Building from source on Mac OS X Leopard

Anyone had any luck building from source on the newly released Mac OS
X Leopard?

A "./configure && make" with MySQL 5.0.45 bails for me while trying to
make the mysys target; this is on an Intel Mac:

ranlib: archive member: libmysys.a(my_new.o) cputype (7) does not
match previous archive members cputype (18) (all members must match)
ranlib: archive member: libmysys.a(raid.o) cputype (7) does not match
previous archive members cputype (18) (all members must match)
ranlib libmysys.a
ranlib: archive member: libmysys.a(my_new.o) cputype (7) does not
match previous archive members cputype (18) (all members must match)
ranlib: archive member: libmysys.a(raid.o) cputype (7) does not match
previous archive members cputype (18) (all members must match)
ranlib: for architecture: ppc file: libmysys.a(my_getpagesize.o) has
no symbols
ranlib: for architecture: ppc file: libmysys.a(my_crc32.o) has no
symbols
ranlib: for architecture: ppc file: libmysys.a(mf_brkhant.o) has no
symbols
ranlib: for architecture: ppc file: libmysys.a(my_lockmem.o) has no
symbols
ranlib: for architecture: ppc file: libmysys.a(my_port.o) has no
symbols
ranlib: for architecture: ppc file: libmysys.a(my_netware.o) has no
symbols
ranlib: for architecture: ppc file: libmysys.a(my_largepage.o) has no
symbols
ranlib: for architecture: ppc file: libmysys.a(my_windac.o) has no
symbols
ranlib: for architecture: ppc file: libmysys.a(my_access.o) has no
symbols
ranlib: for architecture: ppc file: libmysys.a(my_libwrap.o) has no
symbols
ranlib: for architecture: ppc file: libmysys.a(thr_mutex.o) has no
symbols
ranlib: for architecture: ppc file: libmysys.a(thr_rwlock.o) has no
symbols
ranlib: for architecture: i386 file: libmysys.a(my_new.o) has no
symbols
ranlib: for architecture: i386 file: libmysys.a(raid.o) has no symbols
ranlib: warning for library: libmysys.a for architecture: i386 the
table of contents is empty (no object file members in the library
define global symbols)
make[2]: *** [libmysys.a] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

I later tried exporting "-arch i386" (my local native arch) in the
ARCHFLAGS environment variable but that just got a bit further before
giving me different errors:

ld: warning in ../myisam/libmyisam.a, file is not of required
architecture
ld: warning in ../myisammrg/libmyisammrg.a, file is not of required
architecture
ld: warning in ../heap/libheap.a, file is not of required architecture
ld: warning in ../vio/libvio.a, file is not of required architecture
ld: warning in ../dbug/libdbug.a, file is not of required architecture
ld: warning in ../regex/libregex.a, file is not of required
architecture
ld: warning in ../strings/libmystrings.a, file is not of required
architecture
Undefined symbols:
"_my_fopen", referenced from:
tz_load(char const*, st_time_zone_info*, st_mem_root*)in
mysql_tzinfo_to_sql.o
"_my_init", referenced from:
_main in mysql_tzinfo_to_sql.o
"_my_dirend", referenced from:
scan_tz_dir(char*) in mysql_tzinfo_to_sql.o
scan_tz_dir(char*) in mysql_tzinfo_to_sql.o
"_init_alloc_root", referenced from:
scan_tz_dir(char*) in mysql_tzinfo_to_sql.o
_main in mysql_tzinfo_to_sql.o
"_strmake", referenced from:
scan_tz_dir(char*) in mysql_tzinfo_to_sql.o
scan_tz_dir(char*) in mysql_tzinfo_to_sql.o
_main in mysql_tzinfo_to_sql.o
"_my_fread", referenced from:
tz_load(char const*, st_time_zone_info*, st_mem_root*)in
mysql_tzinfo_to_sql.o
"_my_progname", referenced from:
_my_progname$non_lazy_ptr in mysql_tzinfo_to_sql.o
"_my_dir", referenced from:
scan_tz_dir(char*) in mysql_tzinfo_to_sql.o
"_alloc_root", referenced from:
tz_load(char const*, st_time_zone_info*, st_mem_root*)in
mysql_tzinfo_to_sql.o
tz_load(char const*, st_time_zone_info*, st_mem_root*)in
mysql_tzinfo_to_sql.o
tz_load(char const*, st_time_zone_info*, st_mem_root*)in
mysql_tzinfo_to_sql.o
"_my_fclose", referenced from:
tz_load(char const*, st_time_zone_info*, st_mem_root*)in
mysql_tzinfo_to_sql.o
"_free_root", referenced from:
scan_tz_dir(char*) in mysql_tzinfo_to_sql.o
_main in mysql_tzinfo_to_sql.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[4]: *** [mysql_tzinfo_to_sql] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Cheers,
Wincent

  Réponse avec citation
Vieux 31/10/2007, 00h34   #2
Michael Vilain
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Building from source on Mac OS X Leopard

In article <1193775756.557762.209250@v3g2000hsg.googlegroups. com>,
Wincent Colaiuta <win@wincent.com> wrote:

> Anyone had any luck building from source on the newly released Mac OS
> X Leopard?
>
> A "./configure && make" with MySQL 5.0.45 bails for me while trying to
> make the mysys target; this is on an Intel Mac:
>
> ranlib: archive member: libmysys.a(my_new.o) cputype (7) does not
> match previous archive members cputype (18) (all members must match)
> ranlib: archive member: libmysys.a(raid.o) cputype (7) does not match
> previous archive members cputype (18) (all members must match)
> ranlib libmysys.a
> ranlib: archive member: libmysys.a(my_new.o) cputype (7) does not
> match previous archive members cputype (18) (all members must match)
> ranlib: archive member: libmysys.a(raid.o) cputype (7) does not match
> previous archive members cputype (18) (all members must match)
> ranlib: for architecture: ppc file: libmysys.a(my_getpagesize.o) has
> no symbols
> ranlib: for architecture: ppc file: libmysys.a(my_crc32.o) has no
> symbols
> ranlib: for architecture: ppc file: libmysys.a(mf_brkhant.o) has no
> symbols
> ranlib: for architecture: ppc file: libmysys.a(my_lockmem.o) has no
> symbols
> ranlib: for architecture: ppc file: libmysys.a(my_port.o) has no
> symbols
> ranlib: for architecture: ppc file: libmysys.a(my_netware.o) has no
> symbols
> ranlib: for architecture: ppc file: libmysys.a(my_largepage.o) has no
> symbols
> ranlib: for architecture: ppc file: libmysys.a(my_windac.o) has no
> symbols
> ranlib: for architecture: ppc file: libmysys.a(my_access.o) has no
> symbols
> ranlib: for architecture: ppc file: libmysys.a(my_libwrap.o) has no
> symbols
> ranlib: for architecture: ppc file: libmysys.a(thr_mutex.o) has no
> symbols
> ranlib: for architecture: ppc file: libmysys.a(thr_rwlock.o) has no
> symbols
> ranlib: for architecture: i386 file: libmysys.a(my_new.o) has no
> symbols
> ranlib: for architecture: i386 file: libmysys.a(raid.o) has no symbols
> ranlib: warning for library: libmysys.a for architecture: i386 the
> table of contents is empty (no object file members in the library
> define global symbols)
> make[2]: *** [libmysys.a] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
>
> I later tried exporting "-arch i386" (my local native arch) in the
> ARCHFLAGS environment variable but that just got a bit further before
> giving me different errors:
>
> ld: warning in ../myisam/libmyisam.a, file is not of required
> architecture
> ld: warning in ../myisammrg/libmyisammrg.a, file is not of required
> architecture
> ld: warning in ../heap/libheap.a, file is not of required architecture
> ld: warning in ../vio/libvio.a, file is not of required architecture
> ld: warning in ../dbug/libdbug.a, file is not of required architecture
> ld: warning in ../regex/libregex.a, file is not of required
> architecture
> ld: warning in ../strings/libmystrings.a, file is not of required
> architecture
> Undefined symbols:
> "_my_fopen", referenced from:
> tz_load(char const*, st_time_zone_info*, st_mem_root*)in
> mysql_tzinfo_to_sql.o
> "_my_init", referenced from:
> _main in mysql_tzinfo_to_sql.o
> "_my_dirend", referenced from:
> scan_tz_dir(char*) in mysql_tzinfo_to_sql.o
> scan_tz_dir(char*) in mysql_tzinfo_to_sql.o
> "_init_alloc_root", referenced from:
> scan_tz_dir(char*) in mysql_tzinfo_to_sql.o
> _main in mysql_tzinfo_to_sql.o
> "_strmake", referenced from:
> scan_tz_dir(char*) in mysql_tzinfo_to_sql.o
> scan_tz_dir(char*) in mysql_tzinfo_to_sql.o
> _main in mysql_tzinfo_to_sql.o
> "_my_fread", referenced from:
> tz_load(char const*, st_time_zone_info*, st_mem_root*)in
> mysql_tzinfo_to_sql.o
> "_my_progname", referenced from:
> _my_progname$non_lazy_ptr in mysql_tzinfo_to_sql.o
> "_my_dir", referenced from:
> scan_tz_dir(char*) in mysql_tzinfo_to_sql.o
> "_alloc_root", referenced from:
> tz_load(char const*, st_time_zone_info*, st_mem_root*)in
> mysql_tzinfo_to_sql.o
> tz_load(char const*, st_time_zone_info*, st_mem_root*)in
> mysql_tzinfo_to_sql.o
> tz_load(char const*, st_time_zone_info*, st_mem_root*)in
> mysql_tzinfo_to_sql.o
> "_my_fclose", referenced from:
> tz_load(char const*, st_time_zone_info*, st_mem_root*)in
> mysql_tzinfo_to_sql.o
> "_free_root", referenced from:
> scan_tz_dir(char*) in mysql_tzinfo_to_sql.o
> _main in mysql_tzinfo_to_sql.o
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
> make[4]: *** [mysql_tzinfo_to_sql] Error 1
> make[3]: *** [all-recursive] Error 1
> make[2]: *** [all] Error 2
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
>
> Cheers,
> Wincent


I'd wait a couple weeks or post in a MySQL development forum. Chances
are you'll get a pre-packaged MySQL version that installs on Leopard
then.

If you can't wait, then you'll have to piece together the config scripts
to create MySQL from scatch. The error looks like a library that was
built (libmysys.a) didn't have all X86 object code in it.

Any good at GNU builds?

--
DeeDee, don't press that button! DeeDee! NO! Dee...



  Réponse avec citation
Vieux 31/10/2007, 09h34   #3
Wincent Colaiuta
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Building from source on Mac OS X Leopard

On Oct 30, 11:34 pm, Michael Vilain <vil...@NOspamcop.net> wrote:
> Wincent Colaiuta <w...@wincent.com> wrote:
>
> > Anyone had any luck building from source on the newly released Mac OS
> > X Leopard?

>
> I'd wait a couple weeks or post in a MySQL development forum. Chances
> are you'll get a pre-packaged MySQL version that installs on Leopard
> then.


Luckily it's not critical so if I can't get this to work I'll wait
until MySQL makes a binary install available (although it's possible
that their existing Tiger binaries might continue to work on Leopard
anyway).

> If you can't wait, then you'll have to piece together the config scripts
> to create MySQL from scatch. The error looks like a library that was
> built (libmysys.a) didn't have all X86 object code in it.
>
> Any good at GNU builds?


Hehe, only when they work. I'll check out a dev forum like you
suggest.

Cheers,
Wincent


  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 01h04.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,16246 seconds with 11 queries