DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD Ports and Packages

FreeBSD Ports and Packages Installation and upgrading of ports and packages on FreeBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 31st July 2008
dejabu18 dejabu18 is offline
Port Guard
 
Join Date: May 2008
Posts: 16
Default problems installing mysql port

hi

I trying to install the mysql port in my freebsd server but I have some problems when Im compilling the this is what a got after I executed the make file in /usr/ports/databases/mysql51-server/

/usr/bin/ld: cannot find -lgcc_s
gmake[2]: *** [ha_example.la] Error 1
gmake[2]: Leaving directory `/usr/ports/databases/mysql51-server/work/mysql-5.1.24-rc/storage/example'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/databases/mysql51-server/work/mysql-5.1.24-rc/storage'
gmake: *** [all-recursive] Error 1
*** Error code 2

Stop in /usr/ports/databases/mysql51-server.

any idea

thanks for your answers
Reply With Quote
  #2   (View Single Post)  
Old 31st July 2008
hunteronline hunteronline is offline
Fdisk Soldier
 
Join Date: Jul 2008
Posts: 52
Default Gmake

Why gmake? What's wrong with "make install clean"?
Reply With Quote
  #3   (View Single Post)  
Old 31st July 2008
stukov's Avatar
stukov stukov is offline
Real Name: Jean-Michel Philippon-Nadeau
Package Pilot
 
Join Date: May 2008
Location: Sherbrooke, Qc, Canada
Posts: 167
Default

Try the following procedure:

Code:
# cd /usr/ports/databases/mysql51-server
# make distclean
# make install distclean
and let us know if that worked!
__________________
"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction."
Reply With Quote
  #4   (View Single Post)  
Old 31st July 2008
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Tcpdump Spy
 
Join Date: Apr 2008
Location: Netherlands
Posts: 2,243
Default

Which version of FreeBSD are you using?

Quote:
Originally Posted by hunteronline View Post
Why gmake? What's wrong with "make install clean"?
...

Code:
[/ports/databases/mysql51-server]% grep GMAKE Makefile
USE_GMAKE=      yes
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
  #5   (View Single Post)  
Old 31st July 2008
ephemera's Avatar
ephemera ephemera is offline
Knuth's homeboy
 
Join Date: Apr 2008
Posts: 537
Default

when you are posting build errors please include a few lines of context.
it helps to see what was going on just before the error.
Reply With Quote
  #6   (View Single Post)  
Old 31st July 2008
dejabu18 dejabu18 is offline
Port Guard
 
Join Date: May 2008
Posts: 16
Default

Quote:
Originally Posted by stukov View Post
Try the following procedure:

Code:
# cd /usr/ports/databases/mysql51-server
# make distclean
# make install distclean
and let us know if that worked!
Im Traied this make -k install clean the -k option is to continue executing much as possible after an error it looks like it works to finish the installation Im going to test it now, ok thanks stukov I will and I let you know

Im using freebsd 6.1 release version

Last edited by dejabu18; 31st July 2008 at 02:23 PM.
Reply With Quote
  #7   (View Single Post)  
Old 4th August 2008
dejabu18 dejabu18 is offline
Port Guard
 
Join Date: May 2008
Posts: 16
Question

hi guys I tried to solve the problem with this # cd /usr/ports/databases/mysql51-server
# make distclean
# make install distclean

but nothing the same message, look this is my last log
Code:
gmake[1]: Leaving directory `/usr/ports/databases/mysql51-server/work/mysql-5.1.24-rc/regex'
Making all in storage
gmake[1]: Entering directory `/usr/ports/databases/mysql51-server/work/mysql-5.1.24-rc/storage'
Making all in archive
gmake[2]: Entering directory `/usr/ports/databases/mysql51-server/work/mysql-5.1.24-rc/storage/archive'
if c++ -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../include -I../../regex -I../../sql -I.     -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -pipe   -felide-constructors -fno-rtti -fno-exceptions   -fno-implicit-templates -fno-exceptions -fno-rtti -DMYSQLD_NET_RETRY_COUNT=1000000 -MT libarchive_a-ha_archive.o -MD -MP -MF ".deps/libarchive_a-ha_archive.Tpo" -c -o libarchive_a-ha_archive.o `test -f 'ha_archive.cc' || echo './'`ha_archive.cc; \
        then mv -f ".deps/libarchive_a-ha_archive.Tpo" ".deps/libarchive_a-ha_archive.Po"; else rm -f ".deps/libarchive_a-ha_archive.Tpo"; exit 1; fi
if cc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../include -I../../regex -I../../sql -I.     -O2 -fno-strict-aliasing -pipe     -MT libarchive_a-azio.o -MD -MP -MF ".deps/libarchive_a-azio.Tpo" -c -o libarchive_a-azio.o `test -f 'azio.c' || echo './'`azio.c; \
        then mv -f ".deps/libarchive_a-azio.Tpo" ".deps/libarchive_a-azio.Po"; else rm -f ".deps/libarchive_a-azio.Tpo"; exit 1; fi
rm -f libarchive.a
ar cru libarchive.a libarchive_a-ha_archive.o libarchive_a-azio.o 
ranlib libarchive.a
if cc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../include -I../../regex -I../../sql -I.     -O2 -fno-strict-aliasing -pipe     -MT archive_test-archive_test.o -MD -MP -MF ".deps/archive_test-archive_test.Tpo" -c -o archive_test-archive_test.o `test -f 'archive_test.c' || echo './'`archive_test.c; \
        then mv -f ".deps/archive_test-archive_test.Tpo" ".deps/archive_test-archive_test.Po"; else rm -f ".deps/archive_test-archive_test.Tpo"; exit 1; fi
if cc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../include -I../../regex -I../../sql -I.     -O2 -fno-strict-aliasing -pipe     -MT archive_test-azio.o -MD -MP -MF ".deps/archive_test-azio.Tpo" -c -o archive_test-azio.o `test -f 'azio.c' || echo './'`azio.c; \
        then mv -f ".deps/archive_test-azio.Tpo" ".deps/archive_test-azio.Po"; else rm -f ".deps/archive_test-azio.Tpo"; exit 1; fi
/usr/local/bin/libtool --preserve-dup-deps --tag=CC --mode=link cc  -O2 -fno-strict-aliasing -pipe       -o archive_test -static archive_test-archive_test.o archive_test-azio.o ../../mysys/libmysys.a ../../dbug/libdbug.a ../../strings/libmystrings.a -lz -pthread -lcrypt -lm  -pthread 
mkdir .libs
cc -O2 -fno-strict-aliasing -pipe -o archive_test archive_test-archive_test.o archive_test-azio.o -pthread -pthread  ../../mysys/libmysys.a ../../dbug/libdbug.a ../../strings/libmystrings.a -lz -pthread -pthread -lcrypt -lm -pthread -pthread  
if cc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../include -I../../regex -I../../sql -I.     -O2 -fno-strict-aliasing -pipe     -MT archive_reader-archive_reader.o -MD -MP -MF ".deps/archive_reader-archive_reader.Tpo" -c -o archive_reader-archive_reader.o `test -f 'archive_reader.c' || echo './'`archive_reader.c; \
        then mv -f ".deps/archive_reader-archive_reader.Tpo" ".deps/archive_reader-archive_reader.Po"; else rm -f ".deps/archive_reader-archive_reader.Tpo"; exit 1; fi
if cc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../include -I../../regex -I../../sql -I.     -O2 -fno-strict-aliasing -pipe     -MT archive_reader-azio.o -MD -MP -MF ".deps/archive_reader-azio.Tpo" -c -o archive_reader-azio.o `test -f 'azio.c' || echo './'`azio.c; \
        then mv -f ".deps/archive_reader-azio.Tpo" ".deps/archive_reader-azio.Po"; else rm -f ".deps/archive_reader-azio.Tpo"; exit 1; fi
/usr/local/bin/libtool --preserve-dup-deps --tag=CC --mode=link cc  -O2 -fno-strict-aliasing -pipe       -o archive_reader -static archive_reader-archive_reader.o archive_reader-azio.o ../../mysys/libmysys.a ../../dbug/libdbug.a ../../strings/libmystrings.a -lz -pthread -lcrypt -lm  -pthread 
cc -O2 -fno-strict-aliasing -pipe -o archive_reader archive_reader-archive_reader.o archive_reader-azio.o -pthread -pthread  ../../mysys/libmysys.a ../../dbug/libdbug.a ../../strings/libmystrings.a -lz -pthread -pthread -lcrypt -lm -pthread -pthread  
gmake[2]: Leaving directory `/usr/ports/databases/mysql51-server/work/mysql-5.1.24-rc/storage/archive'
Making all in blackhole
gmake[2]: Entering directory `/usr/ports/databases/mysql51-server/work/mysql-5.1.24-rc/storage/blackhole'
if c++ -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../include -I../../regex -I../../sql -I.    -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -pipe   -felide-constructors -fno-rtti -fno-exceptions   -fno-implicit-templates -fno-exceptions -fno-rtti -DMYSQLD_NET_RETRY_COUNT=1000000 -MT libblackhole_a-ha_blackhole.o -MD -MP -MF ".deps/libblackhole_a-ha_blackhole.Tpo" -c -o libblackhole_a-ha_blackhole.o `test -f 'ha_blackhole.cc' || echo './'`ha_blackhole.cc; \
        then mv -f ".deps/libblackhole_a-ha_blackhole.Tpo" ".deps/libblackhole_a-ha_blackhole.Po"; else rm -f ".deps/libblackhole_a-ha_blackhole.Tpo"; exit 1; fi
rm -f libblackhole.a
ar cru libblackhole.a libblackhole_a-ha_blackhole.o 
ranlib libblackhole.a
gmake[2]: Leaving directory `/usr/ports/databases/mysql51-server/work/mysql-5.1.24-rc/storage/blackhole'
Making all in csv
gmake[2]: Entering directory `/usr/ports/databases/mysql51-server/work/mysql-5.1.24-rc/storage/csv'
if c++ -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../include -I../../regex -I../../sql -I.    -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -pipe   -felide-constructors -fno-rtti -fno-exceptions   -fno-implicit-templates -fno-exceptions -fno-rtti -DMYSQLD_NET_RETRY_COUNT=1000000 -MT libcsv_a-transparent_file.o -MD -MP -MF ".deps/libcsv_a-transparent_file.Tpo" -c -o libcsv_a-transparent_file.o `test -f 'transparent_file.cc' || echo './'`transparent_file.cc; \
        then mv -f ".deps/libcsv_a-transparent_file.Tpo" ".deps/libcsv_a-transparent_file.Po"; else rm -f ".deps/libcsv_a-transparent_file.Tpo"; exit 1; fi
if c++ -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../include -I../../regex -I../../sql -I.    -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -pipe   -felide-constructors -fno-rtti -fno-exceptions   -fno-implicit-templates -fno-exceptions -fno-rtti -DMYSQLD_NET_RETRY_COUNT=1000000 -MT libcsv_a-ha_tina.o -MD -MP -MF ".deps/libcsv_a-ha_tina.Tpo" -c -o libcsv_a-ha_tina.o `test -f 'ha_tina.cc' || echo './'`ha_tina.cc; \
        then mv -f ".deps/libcsv_a-ha_tina.Tpo" ".deps/libcsv_a-ha_tina.Po"; else rm -f ".deps/libcsv_a-ha_tina.Tpo"; exit 1; fi
rm -f libcsv.a
ar cru libcsv.a libcsv_a-transparent_file.o libcsv_a-ha_tina.o 
ranlib libcsv.a
gmake[2]: Leaving directory `/usr/ports/databases/mysql51-server/work/mysql-5.1.24-rc/storage/csv'
Making all in example
gmake[2]: Entering directory `/usr/ports/databases/mysql51-server/work/mysql-5.1.24-rc/storage/example'
if /usr/local/bin/libtool --preserve-dup-deps --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../include -I../../regex -I../../sql -I.    -DMYSQL_DYNAMIC_PLUGIN -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -pipe   -felide-constructors -fno-rtti -fno-exceptions   -fno-implicit-templates -fno-exceptions -fno-rtti -DMYSQLD_NET_RETRY_COUNT=1000000 -MT ha_example_la-ha_example.lo -MD -MP -MF ".deps/ha_example_la-ha_example.Tpo" -c -o ha_example_la-ha_example.lo `test -f 'ha_example.cc' || echo './'`ha_example.cc; \
        then mv -f ".deps/ha_example_la-ha_example.Tpo" ".deps/ha_example_la-ha_example.Plo"; else rm -f ".deps/ha_example_la-ha_example.Tpo"; exit 1; fi
mkdir .libs
 c++ -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../include -I../../regex -I../../sql -I. -DMYSQL_DYNAMIC_PLUGIN -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -pipe -felide-constructors -fno-rtti -fno-exceptions -fno-implicit-templates -fno-exceptions -fno-rtti -DMYSQLD_NET_RETRY_COUNT=1000000 -MT ha_example_la-ha_example.lo -MD -MP -MF .deps/ha_example_la-ha_example.Tpo -c ha_example.cc  -fPIC -DPIC -o .libs/ha_example_la-ha_example.o
 c++ -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../include -I../../regex -I../../sql -I. -DMYSQL_DYNAMIC_PLUGIN -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -pipe -felide-constructors -fno-rtti -fno-exceptions -fno-implicit-templates -fno-exceptions -fno-rtti -DMYSQLD_NET_RETRY_COUNT=1000000 -MT ha_example_la-ha_example.lo -MD -MP -MF .deps/ha_example_la-ha_example.Tpo -c ha_example.cc -o ha_example_la-ha_example.o >/dev/null 2>&1
/usr/local/bin/libtool --preserve-dup-deps --tag=CXX --mode=link c++  -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -pipe   -felide-constructors -fno-rtti -fno-exceptions   -fno-implicit-templates -fno-exceptions -fno-rtti -DMYSQLD_NET_RETRY_COUNT=1000000   -o ha_example.la  -module -rpath /usr/local/lib/mysql/plugin ha_example_la-ha_example.lo  -pthread -lcrypt -lm  -pthread 
c++ -shared -nostdlib /usr/lib/crti.o /usr/lib/crtbeginS.o  .libs/ha_example_la-ha_example.o  -pthread -lcrypt -lm -pthread -L/usr/lib -lstdc++ -lm -lgcc_s -lc -lgcc_s /usr/lib/crtendS.o /usr/lib/crtn.o  -pthread -pthread -pthread -pthread -pthread -pthread -Wl,-soname -Wl,ha_example.so.0 -o .libs/ha_example.so.0
/usr/bin/ld: cannot find -lgcc_s
gmake[2]: *** [ha_example.la] Error 1
gmake[2]: Leaving directory `/usr/ports/databases/mysql51-server/work/mysql-5.1.24-rc/storage/example'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/databases/mysql51-server/work/mysql-5.1.24-rc/storage'
gmake: *** [all-recursive] Error 1
*** Error code 2

Stop in /usr/ports/databases/mysql51-server.
I m running in the same server dhcp,dns,and a web server that cound't be the problem maybe one of this services are causing a conflict or something Im very newbie in the bsd world
Reply With Quote
  #8   (View Single Post)  
Old 4th August 2008
ephemera's Avatar
ephemera ephemera is offline
Knuth's homeboy
 
Join Date: Apr 2008
Posts: 537
Default

umm, what the o/p of:
$ ls -l /usr/lib/libgcc_s.so?
Reply With Quote
  #9   (View Single Post)  
Old 4th August 2008
dejabu18 dejabu18 is offline
Port Guard
 
Join Date: May 2008
Posts: 16
Default

Quote:
Originally Posted by ephemera View Post
umm, what the o/p of:
$ ls -l /usr/lib/libgcc_s.so?
ls: /usr/lib/libgcc_s.so: No such file or directory
do you think this could be the problem?? thanks
Reply With Quote
Old 4th August 2008
ephemera's Avatar
ephemera ephemera is offline
Knuth's homeboy
 
Join Date: Apr 2008
Posts: 537
Default

sorry, can you please post the o/p of:

$ ls -l /lib/libgcc_s.so.1
Reply With Quote
Old 4th August 2008
dejabu18 dejabu18 is offline
Port Guard
 
Join Date: May 2008
Posts: 16
Default

Quote:
Originally Posted by ephemera View Post
sorry, can you please post the o/p of:

$ ls -l /lib/libgcc_s.so.1
this is the o/p : ls -l /lib/libgcc_s.so.1
ls: /lib/libgcc_s.so.1: No such file or directory



thanks for your help ephemera
Reply With Quote
Old 4th August 2008
ephemera's Avatar
ephemera ephemera is offline
Knuth's homeboy
 
Join Date: Apr 2008
Posts: 537
Default

dejabu18,

libgcc is a runtime library.
i have no idea how it could have disappeared but without it your system is broken.
install a copy of /lib/libgcc_s.so.1 from another fbsd m/c (or live cd) as a temporary fix.

Last edited by ephemera; 4th August 2008 at 05:05 PM.
Reply With Quote
Old 5th August 2008
dejabu18 dejabu18 is offline
Port Guard
 
Join Date: May 2008
Posts: 16
Default

Quote:
Originally Posted by ephemera View Post
dejabu18,

libgcc is a runtime library.
i have no idea how it could have disappeared but without it your system is broken.
install a copy of /lib/libgcc_s.so.1 from another fbsd m/c (or live cd) as a temporary fix.
I found the file with this command find / -name libgcc_s.so.1 the o/p is
/usr/compat/linux/lib/libgcc_s.so.1

I dont know if this is the same or what before copie it

thanks for your help
Reply With Quote
Old 5th August 2008
cajunman4life cajunman4life is offline
Real Name: Aaron Graves
Package Pilot
 
Join Date: May 2008
Location: Coolidge, Arizona
Posts: 203
Default

You might, as an aside, take this opportunity to upgrade your FreeBSD installation, as 6.1 is terribly dated (and in fact no longer supported). 6.3 is the latest release of the 6.x series supported by the FreeBSD Foundation (with 7.0 being the next-gen release).
__________________
I just saved a bunch of money on my car insurance by fleeing the scene of the accident!
Reply With Quote
Old 5th August 2008
ephemera's Avatar
ephemera ephemera is offline
Knuth's homeboy
 
Join Date: Apr 2008
Posts: 537
Default

> /usr/compat/linux/lib/libgcc_s.so.1
I dont know if this is the same or what before copie it

no, thats not the one.
Reply With Quote
Old 5th August 2008
ephemera's Avatar
ephemera ephemera is offline
Knuth's homeboy
 
Join Date: Apr 2008
Posts: 537
Default

update: i checked frenzy (based on 6.1) and found that it doesn't have libgcc_s.
from what i gather libgcc_s.so.1 (along with libgcc.a) is low-level gcc runtime library that implements some processor specific routines. as such i couldn't find any other documentation for it.

i think the problem is that this port of mysql is not supported on your fbsd version. (though it may only require some tweaking to build it.)
so, i would suggest that you upgrade your OS to fbsd7.

(btw, i take back my words, your system is probably not broken. )

Last edited by ephemera; 5th August 2008 at 08:22 PM.
Reply With Quote
Old 5th August 2008
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Tcpdump Spy
 
Join Date: Apr 2008
Location: Netherlands
Posts: 2,243
Default

My 6.3 STABLE machine doesn't have the file either:
Code:
# uname -r
6.3-STABLE
# ldconfig -r | grep gcc
Exit 1
And ports compile fine (Including MySQL).

Some other things:

o Update your ports tree
o Run make clean in databases/mysql51-server and try building again
o Did you use any build options? If so, which?
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
Old 6th August 2008
dejabu18 dejabu18 is offline
Port Guard
 
Join Date: May 2008
Posts: 16
Default

Code:
alpha# portsnap update
Ports tree is already up to date.
alpha# cd /usr/ports/databases/mysql51-server/
alpha# ls
Makefile                pkg-descr               pkg-plist.client
a.out                   pkg-install             pkg-plist.scripts
distinfo                pkg-message             work
files                   pkg-plist
alpha# make clean
===>  Cleaning for mysql-server-5.1.24_1
alpha# make
pthread  ../mysys/libmysys.a ../dbug/libdbug.a ../strings/libmystrings.a -lz -pthread -pthread -lcrypt -lm -pthread -pthread  
gmake[3]: Leaving directory `/usr/ports/databases/mysql51-server/work/mysql-5.1.24-rc/extra'
gmake[2]: Leaving directory `/usr/ports/databases/mysql51-server/work/mysql-5.1.24-rc/extra'
gmake[1]: Leaving directory `/usr/ports/databases/mysql51-server/work/mysql-5.1.24-rc/extra'
Making all in regex
gmake[1]: Entering directory `/usr/ports/databases/mysql51-server/work/mysql-5.1.24-rc/regex'
if cc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include    -O2 -fno-strict-aliasing -pipe     -MT regerror.o -MD -MP -MF ".deps/regerror.Tpo" -c -o regerror.o regerror.c; \
        then mv -f ".deps/regerror.Tpo" ".deps/regerror.Po"; else rm -f ".deps/regerror.Tpo"; exit 1; fi
if cc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include    -O2 -fno-strict-aliasing -pipe     -MT regcomp.o -MD -MP -MF ".deps/regcomp.Tpo" -c -o regcomp.o regcomp.c; \
        then mv -f ".deps/regcomp.Tpo" ".deps/regcomp.Po"; else rm -f ".deps/regcomp.Tpo"; exit 1; fi
if cc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include    -O2 -fno-strict-aliasing -pipe     -MT regexec.o -MD -MP -MF ".deps/regexec.Tpo" -c -o regexec.o regexec.c; \
        then mv -f ".deps/regexec.Tpo" ".deps/regexec.Po"; else rm -f ".deps/regexec.Tpo"; exit 1; fi
if cc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include    -O2 -fno-strict-aliasing -pipe     -MT regfree.o -MD -MP -MF ".deps/regfree.Tpo" -c -o regfree.o regfree.c; \
        then mv -f ".deps/regfree.Tpo" ".deps/regfree.Po"; else rm -f ".deps/regfree.Tpo"; exit 1; fi
if cc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include    -O2 -fno-strict-aliasing -pipe     -MT reginit.o -MD -MP -MF ".deps/reginit.Tpo" -c -o reginit.o reginit.c; \
        then mv -f ".deps/reginit.Tpo" ".deps/reginit.Po"; else rm -f ".deps/reginit.Tpo"; exit 1; fi
rm -f libregex.a
ar cru libregex.a regerror.o regcomp.o regexec.o regfree.o reginit.o 
ranlib libregex.a
if cc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include    -O2 -fno-strict-aliasing -pipe     -MT split.o -MD -MP -MF ".deps/split.Tpo" -c -o split.o split.c; \
        then mv -f ".deps/split.Tpo" ".deps/split.Po"; else rm -f ".deps/split.Tpo"; exit 1; fi
if cc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include    -O2 -fno-strict-aliasing -pipe     -MT debug.o -MD -MP -MF ".deps/debug.Tpo" -c -o debug.o debug.c; \
        then mv -f ".deps/debug.Tpo" ".deps/debug.Po"; else rm -f ".deps/debug.Tpo"; exit 1; fi
if cc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include    -O2 -fno-strict-aliasing -pipe     -MT main.o -MD -MP -MF ".deps/main.Tpo" -c -o main.o main.c; \
        then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit 1; fi
/usr/local/bin/libtool --preserve-dup-deps --tag=CC --mode=link cc  -O2 -fno-strict-aliasing -pipe       -o re -static split.o debug.o main.o libregex.a ../strings/libmystrings.a -pthread -lcrypt -lm  -pthread 
mkdir .libs
cc -O2 -fno-strict-aliasing -pipe -o re split.o debug.o main.o -pthread -pthread  libregex.a ../strings/libmystrings.a -pthread -pthread -lcrypt -lm -pthread -pthread  
gmake[1]: Leaving directory `/usr/ports/databases/mysql51-server/work/mysql-5.1.24-rc/regex'
Making all in storage
gmake[1]: Entering directory `/usr/ports/databases/mysql51-server/work/mysql-5.1.24-rc/storage'
Making all in archive
gmake[2]: Entering directory `/usr/ports/databases/mysql51-server/work/mysql-5.1.24-rc/storage/archive'
if c++ -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../include -I../../regex -I../../sql -I.     -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -pipe   -felide-constructors -fno-rtti -fno-exceptions   -fno-implicit-templates -fno-exceptions -fno-rtti -DMYSQLD_NET_RETRY_COUNT=1000000 -MT libarchive_a-ha_archive.o -MD -MP -MF ".deps/libarchive_a-ha_archive.Tpo" -c -o libarchive_a-ha_archive.o `test -f 'ha_archive.cc' || echo './'`ha_archive.cc; \
        then mv -f ".deps/libarchive_a-ha_archive.Tpo" ".deps/libarchive_a-ha_archive.Po"; else rm -f ".deps/libarchive_a-ha_archive.Tpo"; exit 1; fi
if cc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../include -I../../regex -I../../sql -I.     -O2 -fno-strict-aliasing -pipe     -MT libarchive_a-azio.o -MD -MP -MF ".deps/libarchive_a-azio.Tpo" -c -o libarchive_a-azio.o `test -f 'azio.c' || echo './'`azio.c; \
        then mv -f ".deps/libarchive_a-azio.Tpo" ".deps/libarchive_a-azio.Po"; else rm -f ".deps/libarchive_a-azio.Tpo"; exit 1; fi
rm -f libarchive.a
ar cru libarchive.a libarchive_a-ha_archive.o libarchive_a-azio.o 
ranlib libarchive.a
if cc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../include -I../../regex -I../../sql -I.     -O2 -fno-strict-aliasing -pipe     -MT archive_test-archive_test.o -MD -MP -MF ".deps/archive_test-archive_test.Tpo" -c -o archive_test-archive_test.o `test -f 'archive_test.c' || echo './'`archive_test.c; \
        then mv -f ".deps/archive_test-archive_test.Tpo" ".deps/archive_test-archive_test.Po"; else rm -f ".deps/archive_test-archive_test.Tpo"; exit 1; fi
if cc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../include -I../../regex -I../../sql -I.     -O2 -fno-strict-aliasing -pipe     -MT archive_test-azio.o -MD -MP -MF ".deps/archive_test-azio.Tpo" -c -o archive_test-azio.o `test -f 'azio.c' || echo './'`azio.c; \
        then mv -f ".deps/archive_test-azio.Tpo" ".deps/archive_test-azio.Po"; else rm -f ".deps/archive_test-azio.Tpo"; exit 1; fi
/usr/local/bin/libtool --preserve-dup-deps --tag=CC --mode=link cc  -O2 -fno-strict-aliasing -pipe       -o archive_test -static archive_test-archive_test.o archive_test-azio.o ../../mysys/libmysys.a ../../dbug/libdbug.a ../../strings/libmystrings.a -lz -pthread -lcrypt -lm  -pthread 
mkdir .libs
cc -O2 -fno-strict-aliasing -pipe -o archive_test archive_test-archive_test.o archive_test-azio.o -pthread -pthread  ../../mysys/libmysys.a ../../dbug/libdbug.a ../../strings/libmystrings.a -lz -pthread -pthread -lcrypt -lm -pthread -pthread  
if cc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../include -I../../regex -I../../sql -I.     -O2 -fno-strict-aliasing -pipe     -MT archive_reader-archive_reader.o -MD -MP -MF ".deps/archive_reader-archive_reader.Tpo" -c -o archive_reader-archive_reader.o `test -f 'archive_reader.c' || echo './'`archive_reader.c; \
        then mv -f ".deps/archive_reader-archive_reader.Tpo" ".deps/archive_reader-archive_reader.Po"; else rm -f ".deps/archive_reader-archive_reader.Tpo"; exit 1; fi
if cc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../include -I../../regex -I../../sql -I.     -O2 -fno-strict-aliasing -pipe     -MT archive_reader-azio.o -MD -MP -MF ".deps/archive_reader-azio.Tpo" -c -o archive_reader-azio.o `test -f 'azio.c' || echo './'`azio.c; \
        then mv -f ".deps/archive_reader-azio.Tpo" ".deps/archive_reader-azio.Po"; else rm -f ".deps/archive_reader-azio.Tpo"; exit 1; fi
/usr/local/bin/libtool --preserve-dup-deps --tag=CC --mode=link cc  -O2 -fno-strict-aliasing -pipe       -o archive_reader -static archive_reader-archive_reader.o archive_reader-azio.o ../../mysys/libmysys.a ../../dbug/libdbug.a ../../strings/libmystrings.a -lz -pthread -lcrypt -lm  -pthread 
cc -O2 -fno-strict-aliasing -pipe -o archive_reader archive_reader-archive_reader.o archive_reader-azio.o -pthread -pthread  ../../mysys/libmysys.a ../../dbug/libdbug.a ../../strings/libmystrings.a -lz -pthread -pthread -lcrypt -lm -pthread -pthread  
gmake[2]: Leaving directory `/usr/ports/databases/mysql51-server/work/mysql-5.1.24-rc/storage/archive'
Making all in blackhole
gmake[2]: Entering directory `/usr/ports/databases/mysql51-server/work/mysql-5.1.24-rc/storage/blackhole'
if c++ -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../include -I../../regex -I../../sql -I.    -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -pipe   -felide-constructors -fno-rtti -fno-exceptions   -fno-implicit-templates -fno-exceptions -fno-rtti -DMYSQLD_NET_RETRY_COUNT=1000000 -MT libblackhole_a-ha_blackhole.o -MD -MP -MF ".deps/libblackhole_a-ha_blackhole.Tpo" -c -o libblackhole_a-ha_blackhole.o `test -f 'ha_blackhole.cc' || echo './'`ha_blackhole.cc; \
        then mv -f ".deps/libblackhole_a-ha_blackhole.Tpo" ".deps/libblackhole_a-ha_blackhole.Po"; else rm -f ".deps/libblackhole_a-ha_blackhole.Tpo"; exit 1; fi
rm -f libblackhole.a
ar cru libblackhole.a libblackhole_a-ha_blackhole.o 
ranlib libblackhole.a
gmake[2]: Leaving directory `/usr/ports/databases/mysql51-server/work/mysql-5.1.24-rc/storage/blackhole'
Making all in csv
gmake[2]: Entering directory `/usr/ports/databases/mysql51-server/work/mysql-5.1.24-rc/storage/csv'
if c++ -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../include -I../../regex -I../../sql -I.    -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -pipe   -felide-constructors -fno-rtti -fno-exceptions   -fno-implicit-templates -fno-exceptions -fno-rtti -DMYSQLD_NET_RETRY_COUNT=1000000 -MT libcsv_a-transparent_file.o -MD -MP -MF ".deps/libcsv_a-transparent_file.Tpo" -c -o libcsv_a-transparent_file.o `test -f 'transparent_file.cc' || echo './'`transparent_file.cc; \
        then mv -f ".deps/libcsv_a-transparent_file.Tpo" ".deps/libcsv_a-transparent_file.Po"; else rm -f ".deps/libcsv_a-transparent_file.Tpo"; exit 1; fi
if c++ -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../include -I../../regex -I../../sql -I.    -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -pipe   -felide-constructors -fno-rtti -fno-exceptions   -fno-implicit-templates -fno-exceptions -fno-rtti -DMYSQLD_NET_RETRY_COUNT=1000000 -MT libcsv_a-ha_tina.o -MD -MP -MF ".deps/libcsv_a-ha_tina.Tpo" -c -o libcsv_a-ha_tina.o `test -f 'ha_tina.cc' || echo './'`ha_tina.cc; \
        then mv -f ".deps/libcsv_a-ha_tina.Tpo" ".deps/libcsv_a-ha_tina.Po"; else rm -f ".deps/libcsv_a-ha_tina.Tpo"; exit 1; fi
rm -f libcsv.a
ar cru libcsv.a libcsv_a-transparent_file.o libcsv_a-ha_tina.o 
ranlib libcsv.a
gmake[2]: Leaving directory `/usr/ports/databases/mysql51-server/work/mysql-5.1.24-rc/storage/csv'
Making all in example
gmake[2]: Entering directory `/usr/ports/databases/mysql51-server/work/mysql-5.1.24-rc/storage/example'
if /usr/local/bin/libtool --preserve-dup-deps --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../include -I../../regex -I../../sql -I.    -DMYSQL_DYNAMIC_PLUGIN -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -pipe   -felide-constructors -fno-rtti -fno-exceptions   -fno-implicit-templates -fno-exceptions -fno-rtti -DMYSQLD_NET_RETRY_COUNT=1000000 -MT ha_example_la-ha_example.lo -MD -MP -MF ".deps/ha_example_la-ha_example.Tpo" -c -o ha_example_la-ha_example.lo `test -f 'ha_example.cc' || echo './'`ha_example.cc; \
        then mv -f ".deps/ha_example_la-ha_example.Tpo" ".deps/ha_example_la-ha_example.Plo"; else rm -f ".deps/ha_example_la-ha_example.Tpo"; exit 1; fi
mkdir .libs
 c++ -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../include -I../../regex -I../../sql -I. -DMYSQL_DYNAMIC_PLUGIN -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -pipe -felide-constructors -fno-rtti -fno-exceptions -fno-implicit-templates -fno-exceptions -fno-rtti -DMYSQLD_NET_RETRY_COUNT=1000000 -MT ha_example_la-ha_example.lo -MD -MP -MF .deps/ha_example_la-ha_example.Tpo -c ha_example.cc  -fPIC -DPIC -o .libs/ha_example_la-ha_example.o
 c++ -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../include -I../../regex -I../../sql -I. -DMYSQL_DYNAMIC_PLUGIN -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -pipe -felide-constructors -fno-rtti -fno-exceptions -fno-implicit-templates -fno-exceptions -fno-rtti -DMYSQLD_NET_RETRY_COUNT=1000000 -MT ha_example_la-ha_example.lo -MD -MP -MF .deps/ha_example_la-ha_example.Tpo -c ha_example.cc -o ha_example_la-ha_example.o >/dev/null 2>&1
/usr/local/bin/libtool --preserve-dup-deps --tag=CXX --mode=link c++  -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -pipe   -felide-constructors -fno-rtti -fno-exceptions   -fno-implicit-templates -fno-exceptions -fno-rtti -DMYSQLD_NET_RETRY_COUNT=1000000   -o ha_example.la  -module -rpath /usr/local/lib/mysql/plugin ha_example_la-ha_example.lo  -pthread -lcrypt -lm  -pthread 
c++ -shared -nostdlib /usr/lib/crti.o /usr/lib/crtbeginS.o  .libs/ha_example_la-ha_example.o  -pthread -lcrypt -lm -pthread -L/usr/lib -lstdc++ -lm -lgcc_s -lc -lgcc_s /usr/lib/crtendS.o /usr/lib/crtn.o  -pthread -pthread -pthread -pthread -pthread -pthread -Wl,-soname -Wl,ha_example.so.0 -o .libs/ha_example.so.0
/usr/bin/ld: cannot find -lgcc_s
gmake[2]: *** [ha_example.la] Error 1
gmake[2]: Leaving directory `/usr/ports/databases/mysql51-server/work/mysql-5.1.24-rc/storage/example'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/databases/mysql51-server/work/mysql-5.1.24-rc/storage'
gmake: *** [all-recursive] Error 1
*** Error code 2

Stop in /usr/ports/databases/mysql51-server.
alpha#
I dont know if there is an other way to upgrade the port tree
do you think is better for me to update to 6.3 version

thanks guys
Reply With Quote
Old 6th August 2008
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Tcpdump Spy
 
Join Date: Apr 2008
Location: Netherlands
Posts: 2,243
Default

Did you use any build options? If so, which?

You can also just use mysql50-server.

Quote:
do you think is better for me to update to 6.3 version
This is a good idea in any case, and it's not that hard.
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
Old 6th August 2008
dejabu18 dejabu18 is offline
Port Guard
 
Join Date: May 2008
Posts: 16
Default

Quote:
Originally Posted by Carpetsmoker View Post
Did you use any build options? If so, which?

You can also just use mysql50-server.



This is a good idea in any case, and it's not that hard.
No only

Code:
make clean
make
OK Im going to see how to do that on the freebsd website

thanks guys
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
MySQL problems in FBSD 6.2 Mantazz FreeBSD Ports and Packages 8 3rd November 2009 09:55 AM
Problems with installing world sniper007 FreeBSD Installation and Upgrading 1 17th April 2009 10:33 AM
Apache Port Question / MYSQL casteld73 FreeBSD Ports and Packages 2 2nd November 2008 05:12 PM
Passing args to port / make while installing apache robot FreeBSD Ports and Packages 2 27th August 2008 01:55 PM
mySql problems dctr FreeBSD Ports and Packages 3 25th May 2008 05:52 PM


All times are GMT. The time now is 12:19 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick