Jump to content

To FreeBSD Users...


Guest XTZGZoReX

Recommended Posts

I am planning to update the internal ACE shipped with the MaNGOS sources. However, I have heard that FreeBSD has issues with latest ACE versions, so I need info on what exactly is wrong, and on what ACE versions problems exist.

The version I plan to update to is 5.7.4, available here: http://download.dre.vanderbilt.edu/previous_versions/

What I want you (FreeBSD users) to do is:

  • * Compile ACE 5.7.4
    * Compile latest MaNGOS with system ACE (5.7.4) instead of built-in ACE
    * Run server and test if things (threading and networking) work OK

Please report back here. Remember to include your FreeBSD OS version.

Thanks.

Link to comment
Share on other sites

  • 2 weeks later...
Can you paste these linker errors?

I've resolved linker errors. Problem was in flag adding:

-L/usr/local/mangos/lib (prefix path)

After I input command to link mangos without this library path - compile has been succesfull.

On 7.2 x86 mangos + ace-5.7.4 runs normal.

On x64 not tested yet.

Link to comment
Share on other sites

  • 3 weeks later...
First need you pkg_info and uname -mr results.

And use a latest port http://filebeam.com/0a3873f53e46bb81025316323ce9d1cf it'll build ace-5.7.5 :)

don't think about it :)

FreeBSD 7.2 amd64

# pkg_info
UserManager-2.1     Easily create, change, or delete virtual PureFTPd users
ace-5.5.2_3         The Adaptive Communication Environment for C++
apache-1.3.41       The extremely popular Apache http server. Very fast, very c
apr-gdbm-db42-1.3.3.1.3.4_1 Apache Portability Library
autoconf-2.13.000227_6 Automatically configure source code on many Un*x platforms
autoconf-2.62       Automatically configure source code on many Un*x platforms
autoconf-wrapper-20071109 Wrapper script for GNU autoconf
automake-1.10.1     GNU Standards-compliant Makefile generator (1.10)
automake-1.4.6_5    GNU Standards-compliant Makefile generator (1.4)
automake-1.5_5,1    GNU Standards-compliant Makefile generator (1.5)
automake-1.6.3_1    GNU Standards-compliant Makefile generator (1.6)
automake-1.7.9_2    GNU Standards-compliant Makefile generator (1.7)
automake-1.8.5_3    GNU Standards-compliant Makefile generator (1.8)
automake-1.9.6_3    GNU Standards-compliant Makefile generator (1.9)
automake-wrapper-20071109 Wrapper script for GNU automake
autotools-20080819  Autotools meta-port
bash-4.0.10_2       The GNU Project's Bourne Again SHell
bigreqsproto-1.0.2  BigReqs extension headers
bison-2.4.1,1       A parser generator from FSF, (mostly) compatible with Yacc
ca_root_nss-3.11.9_2 The root certificate bundle from the Mozilla Project
cclient-2007e,1     Mark Crispin's C-client mail access routines
curl-7.19.4         Non-interactive tool to get files from FTP, GOPHER, HTTP(S)
cvsps-2.1           Create patchset information from CVS
db42-4.2.52_5       The Berkeley DB package, revision 4.2
expat-2.0.1         XML 1.0 parser written in C
fontconfig-2.6.0,1  An XML-based font configuration API for X Windows
freetype2-2.3.9_1   A free and portable TrueType font rendering engine
gamin-0.1.10_1      A file and directory monitoring system
gdbm-1.8.3_3        The GNU database manager
gettext-0.17_1      GNU gettext package
gio-fam-backend-2.20.1 FAM backend for GLib's GIO library
git-1.6.2.2         Distributed source code management tool
glib-2.20.1         Some useful routines of C programming (current stable versi
gmake-3.81_3        GNU version of 'make' utility
help2man-1.36.4_2   Automatically generating simple manual pages from program o
inputproto-1.5.0    Input extension headers
jpeg-6b_7           IJG's jpeg compression utilities
kbproto-1.0.3       KB extension headers
libICE-1.0.4_1,1    Inter Client Exchange library for X11
libSM-1.1.0_1,1     Session Management library for X11
libX11-1.2.1,1      X11 library
libXau-1.0.4        Authentication Protocol library for X11
libXaw-1.0.5_1,1    X Athena Widgets library
libXdmcp-1.0.2_1    X Display Manager Control Protocol library
libXext-1.0.5,1     X11 Extension library
libXft-2.1.13       A client-sided font API for X applications
libXmu-1.0.4,1      X Miscellaneous Utilities libraries
libXp-1.0.0,1       X print library
libXpm-3.5.7        X Pixmap library
libXrender-0.9.4_1  X Render extension library
libXt-1.0.5_1       X Toolkit library
libcheck-0.9.6      A unit test framework for C
libiconv-1.11_1     A character set conversion library
libltdl-1.5.26      System independent dlopen wrapper
libmcrypt-2.5.8     Multi-cipher cryptographic library (used in PHP)
libpthread-stubs-0.1 This library provides weak aliases for pthread functions
libsigsegv-2.5      Handling page faults in user mode
libslang2-2.1.4_1   Routines for rapid alpha-numeric terminal applications deve
libtool-1.5.26      Generic shared library support script
libtool-2.2.6b      Generic shared library support script
libxcb-1.2_1        The X protocol C-language Binding (XCB) library
libxml2-2.7.3       XML parser library for GNOME
libxslt-1.1.24_2    The XSLT C library for GNOME
m4-1.4.12,1         GNU m4
makedepend-1.0.1,1  A dependency generator for makefiles
mc-4.6.2            Midnight Commander, a free Norton Commander Clone
mercurial-1.1.2     A fast, lightweight source control management system
mhash-0.9.9         An easy-to-use library for strong hashes such as MD5 and SH
mysql-client-5.0.77_1 Multithreaded SQL database (client)
mysql-server-5.0.77_1 Multithreaded SQL database (server)
neon28-0.28.3       An HTTP and WebDAV client library for Unix systems
openssl-0.9.8k      SSL and crypto library
p5-Error-0.17015    Perl module to provide Error/exception support for perl: Er
p5-IO-Socket-SSL-1.24 Perl5 interface to SSL sockets
p5-MIME-Base64-3.07 Perl5 module for Base64 and Quoted-Printable encodings
p5-Net-SMTP-SSL-1.01 An SMTP client supporting SSL
p5-Net-SSLeay-1.35_1 Perl5 interface to SSL
p5-gettext-1.05_2   Message handling functions
p7zip-4.65          File archiver with high compression ratio
pcre-7.9            Perl Compatible Regular Expressions library
pecl-fileinfo-1.0.4 A PECL extension to retrieve info about files
perl-threaded-5.8.9_2 Practical Extraction and Report Language
php5-5.2.9          PHP Scripting Language
php5-ctype-5.2.9    The ctype shared extension for php
php5-dom-5.2.9      The dom shared extension for php
php5-exif-5.2.9     The exif shared extension for php
php5-extensions-1.3 A "meta-port" to install PHP extensions
php5-filter-5.2.9   The filter shared extension for php
php5-ftp-5.2.9      The ftp shared extension for php
php5-gd-5.2.9       The gd shared extension for php
php5-gettext-5.2.9  The gettext shared extension for php
php5-hash-5.2.9     The hash shared extension for php
php5-iconv-5.2.9    The iconv shared extension for php
php5-imap-5.2.9     The imap shared extension for php
php5-json-5.2.9     The json shared extension for php
php5-mbstring-5.2.9 The mbstring shared extension for php
php5-mcrypt-5.2.9   The mcrypt shared extension for php
php5-mhash-5.2.9    The mhash shared extension for php
php5-mysql-5.2.9    The mysql shared extension for php
php5-pcre-5.2.9     The pcre shared extension for php
php5-pdo-5.2.9      The pdo shared extension for php
php5-pdo_sqlite-5.2.9 The pdo_sqlite shared extension for php
php5-posix-5.2.9    The posix shared extension for php
php5-session-5.2.9  The session shared extension for php
php5-simplexml-5.2.9 The simplexml shared extension for php
php5-spl-5.2.9      The spl shared extension for php
php5-sqlite-5.2.9   The sqlite shared extension for php
php5-tokenizer-5.2.9 The tokenizer shared extension for php
php5-xml-5.2.9      The xml shared extension for php
php5-xmlreader-5.2.9 The xmlreader shared extension for php
php5-xmlwriter-5.2.9 The xmlwriter shared extension for php
php5-zlib-5.2.9     The zlib shared extension for php
pkg-config-0.23_1   A utility to retrieve information about installed libraries
png-1.2.35          Library for manipulating PNG images
printproto-1.0.4    Print extension headers
proftpd-1.3.2       Highly configurable ftp daemon
proftpd-mysql-1.3.2 Highly configurable ftp daemon with MySQL support
python25-2.5.4_1    An interpreted object-oriented programming language
renderproto-0.9.3   RenderProto protocol headers
screen-4.0.3_6      A multi-screen window manager
sqlite3-3.6.11      An SQL database engine in a C library
subversion-1.6.0_2  Version control system
t1lib-5.1.2_1,1     A Type 1 Rasterizer Library for UNIX/X11
tcl-8.5.6_3         Tool Command Language
tcl-modules-8.5.6   Tcl common modules
tk-8.5.6_1          Graphical toolkit for TCL
unixbench-4.1.0_1   The BYTE magazine's Public Domain benchmark for UNIX
unrar-3.80,5        Extract, view & test RAR archives
vsftpd-2.1.0        A FTP daemon that aims to be "very secure"
xcb-proto-1.4       The X protocol C-language Binding (XCB) protocol
xcmiscproto-1.1.2   XCMisc extension headers
xextproto-7.0.5     XExt extension headers
xf86bigfontproto-1.1.2 XFree86-Bigfont extension headers
xorg-macros-1.2.1   X.Org development aclocal macros
xproto-7.0.15       X11 protocol headers
xtrans-1.2.3        Abstract network code for X

today a try to compile 5.7.0 and made comments on strings with errors

So I compile it successfully but have a problem with install:

libtool: install: warning: relinking `libACE_ETCL.la'
(cd /usr/local/customers/webs/alter/trinity/ACE/ACE_wrappers/build/ace/ETCL; /bin/sh ../../libtool  --tag=CXX --mode=relink g++ -W -Wall -Wpointer-arith -I/usr/local/include -g -O2 -pthread -pipe -I. -I.. -o libACE_ETCL.la -rpath //usr/local/customers/webs/alter/trinity/ACE/.sys//lib -release 5.7 libACE_ETCL_la-ETCL_Constraint.lo libACE_ETCL_la-ETCL_Constraint_Visitor.lo ../../ace/libACE.la )
g++ -shared -nostdlib /usr/lib/crti.o /usr/lib/crtbeginS.o  .libs/libACE_ETCL_la-ETCL_Constraint.o .libs/libACE_ETCL_la-ETCL_Constraint_Visitor.o  -Wl,--rpath -Wl,//usr/local/customers/webs/alter/trinity/ACE/.sys//lib -pthread -L//usr/local/customers/webs/alter/trinity/ACE/.sys//lib -lACE -L/usr/lib -lstdc++ -lm -lc -lgcc_s /usr/lib/crtendS.o /usr/lib/crtn.o  -Wl,-soname -Wl,libACE_ETCL-5.7.so.0.0 -o .libs/libACE_ETCL-5.7.so.0.0
/usr/bin/ld: cannot find -lACE
libtool: install: error: relink `libACE_ETCL.la' with the above command before installing it
*** Error code 1

I have a epic problem with libtool :)

Link to comment
Share on other sites

don't think about it :)

FreeBSD 7.2 amd64

# pkg_info
UserManager-2.1     Easily create, change, or delete virtual PureFTPd users
ace-5.5.2_3         The Adaptive Communication Environment for C++
apache-1.3.41       The extremely popular Apache http server. Very fast, very c
apr-gdbm-db42-1.3.3.1.3.4_1 Apache Portability Library
autoconf-2.13.000227_6 Automatically configure source code on many Un*x platforms
autoconf-2.62       Automatically configure source code on many Un*x platforms
autoconf-wrapper-20071109 Wrapper script for GNU autoconf
automake-1.10.1     GNU Standards-compliant Makefile generator (1.10)
automake-1.4.6_5    GNU Standards-compliant Makefile generator (1.4)
automake-1.5_5,1    GNU Standards-compliant Makefile generator (1.5)
automake-1.6.3_1    GNU Standards-compliant Makefile generator (1.6)
automake-1.7.9_2    GNU Standards-compliant Makefile generator (1.7)
automake-1.8.5_3    GNU Standards-compliant Makefile generator (1.8)
automake-1.9.6_3    GNU Standards-compliant Makefile generator (1.9)
automake-wrapper-20071109 Wrapper script for GNU automake
autotools-20080819  Autotools meta-port
bash-4.0.10_2       The GNU Project's Bourne Again SHell
bigreqsproto-1.0.2  BigReqs extension headers
bison-2.4.1,1       A parser generator from FSF, (mostly) compatible with Yacc
ca_root_nss-3.11.9_2 The root certificate bundle from the Mozilla Project
cclient-2007e,1     Mark Crispin's C-client mail access routines
curl-7.19.4         Non-interactive tool to get files from FTP, GOPHER, HTTP(S)
cvsps-2.1           Create patchset information from CVS
db42-4.2.52_5       The Berkeley DB package, revision 4.2
expat-2.0.1         XML 1.0 parser written in C
fontconfig-2.6.0,1  An XML-based font configuration API for X Windows
freetype2-2.3.9_1   A free and portable TrueType font rendering engine
gamin-0.1.10_1      A file and directory monitoring system
gdbm-1.8.3_3        The GNU database manager
gettext-0.17_1      GNU gettext package
gio-fam-backend-2.20.1 FAM backend for GLib's GIO library
git-1.6.2.2         Distributed source code management tool
glib-2.20.1         Some useful routines of C programming (current stable versi
gmake-3.81_3        GNU version of 'make' utility
help2man-1.36.4_2   Automatically generating simple manual pages from program o
inputproto-1.5.0    Input extension headers
jpeg-6b_7           IJG's jpeg compression utilities
kbproto-1.0.3       KB extension headers
libICE-1.0.4_1,1    Inter Client Exchange library for X11
libSM-1.1.0_1,1     Session Management library for X11
libX11-1.2.1,1      X11 library
libXau-1.0.4        Authentication Protocol library for X11
libXaw-1.0.5_1,1    X Athena Widgets library
libXdmcp-1.0.2_1    X Display Manager Control Protocol library
libXext-1.0.5,1     X11 Extension library
libXft-2.1.13       A client-sided font API for X applications
libXmu-1.0.4,1      X Miscellaneous Utilities libraries
libXp-1.0.0,1       X print library
libXpm-3.5.7        X Pixmap library
libXrender-0.9.4_1  X Render extension library
libXt-1.0.5_1       X Toolkit library
libcheck-0.9.6      A unit test framework for C
libiconv-1.11_1     A character set conversion library
libltdl-1.5.26      System independent dlopen wrapper
libmcrypt-2.5.8     Multi-cipher cryptographic library (used in PHP)
libpthread-stubs-0.1 This library provides weak aliases for pthread functions
libsigsegv-2.5      Handling page faults in user mode
libslang2-2.1.4_1   Routines for rapid alpha-numeric terminal applications deve
libtool-1.5.26      Generic shared library support script
libtool-2.2.6b      Generic shared library support script
libxcb-1.2_1        The X protocol C-language Binding (XCB) library
libxml2-2.7.3       XML parser library for GNOME
libxslt-1.1.24_2    The XSLT C library for GNOME
m4-1.4.12,1         GNU m4
makedepend-1.0.1,1  A dependency generator for makefiles
mc-4.6.2            Midnight Commander, a free Norton Commander Clone
mercurial-1.1.2     A fast, lightweight source control management system
mhash-0.9.9         An easy-to-use library for strong hashes such as MD5 and SH
mysql-client-5.0.77_1 Multithreaded SQL database (client)
mysql-server-5.0.77_1 Multithreaded SQL database (server)
neon28-0.28.3       An HTTP and WebDAV client library for Unix systems
openssl-0.9.8k      SSL and crypto library
p5-Error-0.17015    Perl module to provide Error/exception support for perl: Er
p5-IO-Socket-SSL-1.24 Perl5 interface to SSL sockets
p5-MIME-Base64-3.07 Perl5 module for Base64 and Quoted-Printable encodings
p5-Net-SMTP-SSL-1.01 An SMTP client supporting SSL
p5-Net-SSLeay-1.35_1 Perl5 interface to SSL
p5-gettext-1.05_2   Message handling functions
p7zip-4.65          File archiver with high compression ratio
pcre-7.9            Perl Compatible Regular Expressions library
pecl-fileinfo-1.0.4 A PECL extension to retrieve info about files
perl-threaded-5.8.9_2 Practical Extraction and Report Language
php5-5.2.9          PHP Scripting Language
php5-ctype-5.2.9    The ctype shared extension for php
php5-dom-5.2.9      The dom shared extension for php
php5-exif-5.2.9     The exif shared extension for php
php5-extensions-1.3 A "meta-port" to install PHP extensions
php5-filter-5.2.9   The filter shared extension for php
php5-ftp-5.2.9      The ftp shared extension for php
php5-gd-5.2.9       The gd shared extension for php
php5-gettext-5.2.9  The gettext shared extension for php
php5-hash-5.2.9     The hash shared extension for php
php5-iconv-5.2.9    The iconv shared extension for php
php5-imap-5.2.9     The imap shared extension for php
php5-json-5.2.9     The json shared extension for php
php5-mbstring-5.2.9 The mbstring shared extension for php
php5-mcrypt-5.2.9   The mcrypt shared extension for php
php5-mhash-5.2.9    The mhash shared extension for php
php5-mysql-5.2.9    The mysql shared extension for php
php5-pcre-5.2.9     The pcre shared extension for php
php5-pdo-5.2.9      The pdo shared extension for php
php5-pdo_sqlite-5.2.9 The pdo_sqlite shared extension for php
php5-posix-5.2.9    The posix shared extension for php
php5-session-5.2.9  The session shared extension for php
php5-simplexml-5.2.9 The simplexml shared extension for php
php5-spl-5.2.9      The spl shared extension for php
php5-sqlite-5.2.9   The sqlite shared extension for php
php5-tokenizer-5.2.9 The tokenizer shared extension for php
php5-xml-5.2.9      The xml shared extension for php
php5-xmlreader-5.2.9 The xmlreader shared extension for php
php5-xmlwriter-5.2.9 The xmlwriter shared extension for php
php5-zlib-5.2.9     The zlib shared extension for php
pkg-config-0.23_1   A utility to retrieve information about installed libraries
png-1.2.35          Library for manipulating PNG images
printproto-1.0.4    Print extension headers
proftpd-1.3.2       Highly configurable ftp daemon
proftpd-mysql-1.3.2 Highly configurable ftp daemon with MySQL support
python25-2.5.4_1    An interpreted object-oriented programming language
renderproto-0.9.3   RenderProto protocol headers
screen-4.0.3_6      A multi-screen window manager
sqlite3-3.6.11      An SQL database engine in a C library
subversion-1.6.0_2  Version control system
t1lib-5.1.2_1,1     A Type 1 Rasterizer Library for UNIX/X11
tcl-8.5.6_3         Tool Command Language
tcl-modules-8.5.6   Tcl common modules
tk-8.5.6_1          Graphical toolkit for TCL
unixbench-4.1.0_1   The BYTE magazine's Public Domain benchmark for UNIX
unrar-3.80,5        Extract, view & test RAR archives
vsftpd-2.1.0        A FTP daemon that aims to be "very secure"
xcb-proto-1.4       The X protocol C-language Binding (XCB) protocol
xcmiscproto-1.1.2   XCMisc extension headers
xextproto-7.0.5     XExt extension headers
xf86bigfontproto-1.1.2 XFree86-Bigfont extension headers
xorg-macros-1.2.1   X.Org development aclocal macros
xproto-7.0.15       X11 protocol headers
xtrans-1.2.3        Abstract network code for X

today a try to compile 5.7.0 and made comments on strings with errors

So I compile it successfully but have a problem with install:

libtool: install: warning: relinking `libACE_ETCL.la'
(cd /usr/local/customers/webs/alter/trinity/ACE/ACE_wrappers/build/ace/ETCL; /bin/sh ../../libtool  --tag=CXX --mode=relink g++ -W -Wall -Wpointer-arith -I/usr/local/include -g -O2 -pthread -pipe -I. -I.. -o libACE_ETCL.la -rpath //usr/local/customers/webs/alter/trinity/ACE/.sys//lib -release 5.7 libACE_ETCL_la-ETCL_Constraint.lo libACE_ETCL_la-ETCL_Constraint_Visitor.lo ../../ace/libACE.la )
g++ -shared -nostdlib /usr/lib/crti.o /usr/lib/crtbeginS.o  .libs/libACE_ETCL_la-ETCL_Constraint.o .libs/libACE_ETCL_la-ETCL_Constraint_Visitor.o  -Wl,--rpath -Wl,//usr/local/customers/webs/alter/trinity/ACE/.sys//lib -pthread -L//usr/local/customers/webs/alter/trinity/ACE/.sys//lib -lACE -L/usr/lib -lstdc++ -lm -lc -lgcc_s /usr/lib/crtendS.o /usr/lib/crtn.o  -Wl,-soname -Wl,libACE_ETCL-5.7.so.0.0 -o .libs/libACE_ETCL-5.7.so.0.0
/usr/bin/ld: cannot find -lACE
libtool: install: error: relink `libACE_ETCL.la' with the above command before installing it
*** Error code 1

I have a epic problem with libtool :)

Try to remove package ace-5.5.2_3, it's unnecesary.

Link to comment
Share on other sites

  • 1 month later...
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use