LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices

Reply
 
LinkBack Search this Thread
Old 04-16-2009, 11:46 PM   #1
wanghao
Member
 
Registered: Mar 2007
Distribution: centos
Posts: 126

Rep: Reputation: 15
Freebsd mysql source code install error


My distro is Freebsd 7.1 and Mysql is 6.0 community version i was going to install from the sourced code.

It's works well in the "configure",but when make it report like this:

cc -DHAVE_CONFIG_H -I. -I../../include -I../../include -I../../include -O3 -MT vi.o
-MD -MP -MF .deps/vi.Tpo -c -o vi.o vi.c
vi.c:918:74: error: macro "__weak_reference" requires 2 arguments, but only 1 given
vi.c: In function 'get_alias_text':
vi.c:918: error: expected declaration specifiers before '__weak_reference'
vi.c:923: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
vi.c:953: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
vi.c:998: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
vi.c:1054: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
vi.c:1103: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
vi.c:918: error: parameter name omitted

i've googled about the case ,there's only one page which told me it was a bug in the old mysql version.
Any ideas,Thanks you in advance!
 
Old 04-17-2009, 01:13 PM   #2
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Debian, FreeBSD
Posts: 3,739
Blog Entries: 5

Rep: Reputation: Disabled
Update your ports tree and try again?

e.g.:
# cd /usr/ports/databases/mysql60-server && make clean && make install clean
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
MySQL Error Code 1064 - MySQL Administrator a_m0d Linux - Server 6 02-27-2009 04:02 AM
How to get Freebsd 4.5 source code? chinmays *BSD 4 10-11-2006 03:10 AM
FreeBSD 6.0 - error code #1 t3ch *BSD 3 12-05-2005 09:21 AM
Why can't FreeBSD compile anything from source code? mortal *BSD 5 03-21-2005 07:49 PM
mysql source code anishtg Linux - Newbie 1 11-30-2004 08:17 AM


All times are GMT -5. The time now is 08:31 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration