Re: Ardour3-3.1 does not build on FreeBSD i386 10.0
outro pessoa <[email protected]>
| Newsgroups | gmane.comp.audio.ardour.devel |
|---|---|
| Message-ID | <CAD9=5XwSAeR86DbqDEQygz2GMtkF3XN8O5WxeJ0Gju-ZNQTDaw@mail.gmail.com> |
If you are talking about the man page for dlopen, it is completely different on FreeBSD. On Mon, Jun 3, 2013 at 6:27 AM, Paul Davis <[email protected]>wrote: > dlopen is NOT part of libtool. read the manpage. > > > On Sun, Jun 2, 2013 at 11:42 PM, outro pessoa <[email protected]>wrote: > >> I've noticed that dlopen.c is part of libtool. This is located in >> /usr/local/share and not in the standard library locations. The other >> functions are located in the /usr/include directory. >> I'm going to test an idea. >> >> >> On Sun, Jun 2, 2013 at 5:22 AM, Paul Davis <[email protected]>wrote: >> >>> those messages suggest to me that some other head file is required. >>> ardour does not require a platform to provide IPMIDI - ardour has the code >>> for it as part of its own source. but it does need to be able to use all >>> the macros and symbols that a typical multicast app would require. >>> >>> >>> On Sun, Jun 2, 2013 at 12:49 AM, outro pessoa <[email protected]>wrote: >>> >>>> Okay >>>> >>>> 1. www.nerds.de This site has an application called ipmidi. That is >>>> why I had stated that ipmidi was not available for FreeBSD. >>>> >>>> 2. I have searched the code and can not find anything to match the >>>> error in the attached file. >>>> >>>> >>>> On Sun, May 26, 2013 at 4:08 PM, outro pessoa <[email protected]>wrote: >>>> >>>>> Okay ipmidi is not available for FreeBSD. I had to look up the >>>>> information. >>>>> About how many hidden flags are in the wscript file? It looks like >>>>> I'll need to remove the ones that cannot be built on this OS architecture. >>>>> >>>>> >>>>> On Sun, May 26, 2013 at 3:57 PM, outro pessoa <[email protected]>wrote: >>>>> >>>>>> Configure was redone without static libraries. >>>>>> Error seems to be in libmidi preprocessor pp/++ files. >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> On Sun, May 26, 2013 at 1:54 PM, Paul Davis < >>>>>> [email protected]> wrote: >>>>>> >>>>>>> --internal-static-libs is experimental and will almost certainly not >>>>>>> work. It is a work in progress that is expected to be months away from >>>>>>> being completed, and was intended to be used only when building Ardour for >>>>>>> binary distribution. There is a lot of code in ardour that is known to be >>>>>>> completely, 100% broken when this option is used - it will compile but the >>>>>>> program will crash either at startup or during execution. >>>>>>> >>>>>>> put more simply: you cannot use this option to build a working >>>>>>> version of ardour. >>>>>>> >>>>>>> >>>>>>> On Sun, May 26, 2013 at 1:37 PM, outro pessoa < >>>>>>> [email protected]> wrote: >>>>>>> >>>>>>>> Add this to FreeBSD install: >>>>>>>> Compile without lv2 until I can see what the problem is with the >>>>>>>> search method. >>>>>>>> Ardour3-3.1 compiles with "./waf configure >>>>>>>> --boost-includes=/usr/local/include/boost/ >>>>>>>> --also-includes=/usr/local/include/ --internal-static-libs >>>>>>>> --also-libdir=/usr/local/lib/ --freebie --no-lv2" >>>>>>>> >>>>>>>> Now, Ardour3-3.1 will build but it does not install. >>>>>>>> >>>>>>>> Build failed >>>>>>>> -> task in 'libmidipp' failed (exit status 1): >>>>>>>> {task 689150380: cxx ipmidi_port.cc -> ipmidi_port.cc.1.o} >>>>>>>> >>>>>>>> >>>>>>>> On Sat, May 25, 2013 at 3:28 PM, outro pessoa < >>>>>>>> [email protected]> wrote: >>>>>>>> >>>>>>>>> Took care of that. >>>>>>>>> Eliminated the dlopen from the wscript. >>>>>>>>> Really not too sure about the GMP and MPFR selection. At what >>>>>>>>> point would the sound card crap out? >>>>>>>>> Here looking at using an i386 for wine and having NFS export the >>>>>>>>> necessary directories, libraries, etc to a powerpc machine. >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> On Fri, May 24, 2013 at 1:22 PM, Paul Davis < >>>>>>>>> [email protected]> wrote: >>>>>>>>> >>>>>>>>>> boost does not provide pkg-config info. it is really pathetic. >>>>>>>>>> >>>>>>>>>> you need to use system-level stuff to make boost discoverable >>>>>>>>>> (e.g. symlinks) etc. etc. >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> On Thu, May 23, 2013 at 4:38 AM, outro pessoa < >>>>>>>>>> [email protected]> wrote: >>>>>>>>>> >>>>>>>>>>> Boost 1.52 and subsequent boost based applications & libraries- >>>>>>>>>>> also 1.52- are installed yet "./waf configure " will not recognize even >>>>>>>>>>> with boost and other include flags enabled. >>>>>>>>>>> >>>>>>>>>>> The wscript file does not contain enough information to change >>>>>>>>>>> the variable and search path with vi. >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> _______________________________________________ >>>>>>>>>>> ardour-dev mailing list >>>>>>>>>>> [email protected] >>>>>>>>>>> http://lists.ardour.org/listinfo.cgi/ardour-dev-ardour.org >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> ardour-dev mailing list >>>>>>>> [email protected] >>>>>>>> http://lists.ardour.org/listinfo.cgi/ardour-dev-ardour.org >>>>>>>> >>>>>>>> >>>>>>> >>>>>> >>>>> >>>> >>>> _______________________________________________ >>>> ardour-dev mailing list >>>> [email protected] >>>> http://lists.ardour.org/listinfo.cgi/ardour-dev-ardour.org >>>> >>>> >>> >> > _______________________________________________ ardour-dev mailing list [email protected] http://lists.ardour.org/listinfo.cgi/ardour-dev-ardour.org
dlopen-in-freebsd-hierarchy.txt
(text/plain, 899 B)
/home/schrodinger/Downloads/source/usr/src/contrib/bind9/bin/named/include/dlz/dlz_dlopen_driver.h /home/schrodinger/Downloads/source/usr/src/contrib/bind9/bin/named/unix/dlz_dlopen_driver.c /home/schrodinger/Downloads/source/usr/src/contrib/bind9/lib/dns/include/dns/dlz_dlopen.h /home/schrodinger/Downloads/source/usr/src/lib/libc/gen/dlopen.3 /home/schrodinger/Downloads/source/usr/src/lib/libc/gen/libc_dlopen.c /usr/local/share/doc/sdl/docs/html/sdlopenaudio.html /usr/local/share/libtool/libltdl/loaders/dlopen.c /usr/ports/net/samba34/files/patch-source3__script__tests__dlopen.sh /usr/share/man/man3/dlopen.3.gz /usr/share/man/man3/fdlopen.3.gz /usr/src/contrib/bind9/bin/named/include/dlz/dlz_dlopen_driver.h /usr/src/contrib/bind9/bin/named/unix/dlz_dlopen_driver.c /usr/src/contrib/bind9/lib/dns/include/dns/dlz_dlopen.h /usr/src/lib/libc/gen/dlopen.3 /usr/src/lib/libc/gen/libc_dlopen.c
dlopen-in-libtool-freebsd.txt
(text/plain, 126 B)
`-dlpreopen' FILE if it cannot be dlopened at runtime
build a library that can dlopened
`-dlopen' flags.
config.log
(application/octet-stream, 7.7 KB)
# project Ardour3 (3.1) configured on Mon Jun 3 19:02:21 2013 by
# waf 1.6.11 (abi 98, python 20703f0 on freebsd10)
# using ./waf configure --also-include=/usr/local/include/ --also-libdir=/usr/local/lib/
#
----------------------------------------
Setting top to
/home/schrodinger/3.0
----------------------------------------
Setting out to
/home/schrodinger/3.0/build
----------------------------------------
Checking for 'gcc' (c compiler)
find program=['gcc', 'cc'] paths=['/sbin', '/bin', '/usr/sbin', '/usr/bin', '/usr/games', '/usr/local/sbin', '/usr/local/bin', '/home/schrodinger/bin'] var='CC' -> '/usr/bin/gcc'
find program=['ar'] paths=['/sbin', '/bin', '/usr/sbin', '/usr/bin', '/usr/games', '/usr/local/sbin', '/usr/local/bin', '/home/schrodinger/bin'] var='AR' -> '/usr/bin/ar'
/usr/bin/gcc
----------------------------------------
Checking for 'g++' (c++ compiler)
find program=['g++', 'c++'] paths=['/sbin', '/bin', '/usr/sbin', '/usr/bin', '/usr/games', '/usr/local/sbin', '/usr/local/bin', '/home/schrodinger/bin'] var='CXX' -> '/usr/bin/g++'
(tool ar is already loaded, skipping)
/usr/bin/g++
----------------------------------------------------
Checking for header jack/session.h
==>
#include <jack/session.h>
int main() {
return 0;
}
<==
[1/2] [32mcxx: build/.conf_check_37c8dbfbf4f2b78a74796b7bcdfb65da/test.cpp -> build/.conf_check_37c8dbfbf4f2b78a74796b7bcdfb65da/testbuild/test.cpp.1.o
[0m
['/usr/bin/g++', '-I/home/schrodinger/3.0', '-O0', '-g', '-fshow-column', '-I/usr/local/include/', '-I/home/schrodinger/3.0/build/.conf_check_37c8dbfbf4f2b78a74796b7bcdfb65da/testbuild', '-DINTERNAL_SHARED_LIBS=1', '../test.cpp', '-c', '-o', 'test.cpp.1.o']
[2/2] [33mcxxprogram: build/.conf_check_37c8dbfbf4f2b78a74796b7bcdfb65da/testbuild/test.cpp.1.o -> build/.conf_check_37c8dbfbf4f2b78a74796b7bcdfb65da/testbuild/testprog
[0m
['/usr/bin/g++', 'test.cpp.1.o', '-o', '/home/schrodinger/3.0/build/.conf_check_37c8dbfbf4f2b78a74796b7bcdfb65da/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic']
yes
----------------------------------------------------
Checking for boost library >= 1.39
==>
#include <boost/version.hpp>
int main(void) { return (BOOST_VERSION >= 103900 ? 0 : 1); }
<==
[1/3] [32mcxx: build/.conf_check_6e0d54c53352c86386392258db1caae7/test.cpp -> build/.conf_check_6e0d54c53352c86386392258db1caae7/testbuild/test.cpp.1.o
[0m
['/usr/bin/g++', '-I/home/schrodinger/3.0', '-O0', '-g', '-fshow-column', '-I/usr/local/include/', '-I/home/schrodinger/3.0/build/.conf_check_6e0d54c53352c86386392258db1caae7/testbuild', '-DINTERNAL_SHARED_LIBS=1', '-DJACK_SESSION=1', '../test.cpp', '-c', '-o', 'test.cpp.1.o']
[2/3] [33mcxxprogram: build/.conf_check_6e0d54c53352c86386392258db1caae7/testbuild/test.cpp.1.o -> build/.conf_check_6e0d54c53352c86386392258db1caae7/testbuild/testprog
[0m
['/usr/bin/g++', 'test.cpp.1.o', '-o', '/home/schrodinger/3.0/build/.conf_check_6e0d54c53352c86386392258db1caae7/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic']
[3/3] [35mtest_exec: build/.conf_check_6e0d54c53352c86386392258db1caae7/testbuild/testprog
[0m
['/home/schrodinger/3.0/build/.conf_check_6e0d54c53352c86386392258db1caae7/testbuild/testprog']
ok
----------------------------------------------------
Checking for program pkg-config
/usr/local/bin/pkg-config
find program=['pkg-config'] paths=['/sbin', '/bin', '/usr/sbin', '/usr/bin', '/usr/games', '/usr/local/sbin', '/usr/local/bin', '/home/schrodinger/bin'] var='PKGCONFIG' -> '/usr/local/bin/pkg-config'
----------------------------------------------------
Checking for 'glib-2.0' >= 2.2
['/usr/local/bin/pkg-config', '--atleast-version=2.2', 'glib-2.0']
['/usr/local/bin/pkg-config', 'glib-2.0', '--cflags', '--libs']
out: -I/usr/local/include/glib-2.0 -I/usr/local/include -L/usr/local/lib -lglib-2.0
yes
----------------------------------------------------
Checking for 'gthread-2.0' >= 2.2
['/usr/local/bin/pkg-config', '--atleast-version=2.2', 'gthread-2.0']
['/usr/local/bin/pkg-config', 'gthread-2.0', '--cflags', '--libs']
out: -pthread -I/usr/local/include/glib-2.0 -I/usr/local/include -lgthread-2.0 -pthread -L/usr/local/lib -lglib-2.0
yes
----------------------------------------------------
Checking for 'glibmm-2.4' >= 2.32.0
['/usr/local/bin/pkg-config', '--atleast-version=2.32.0', 'glibmm-2.4']
['/usr/local/bin/pkg-config', 'glibmm-2.4', '--cflags', '--libs']
out: -I/usr/local/include/glibmm-2.4 -I/usr/local/lib/glibmm-2.4/include -I/usr/local/include/glib-2.0 -I/usr/local/include -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -lglibmm-2.4 -lgobject-2.0 -lglib-2.0 -L/usr/local/lib -lsigc-2.0
yes
----------------------------------------------------
Checking for 'sndfile' >= 1.0.18
['/usr/local/bin/pkg-config', '--atleast-version=1.0.18', 'sndfile']
['/usr/local/bin/pkg-config', 'sndfile', '--cflags', '--libs']
out: -I/usr/local/include -L/usr/local/lib -lsndfile
yes
----------------------------------------------------
Checking for 'giomm-2.4' >= 2.2
['/usr/local/bin/pkg-config', '--atleast-version=2.2', 'giomm-2.4']
['/usr/local/bin/pkg-config', 'giomm-2.4', '--cflags', '--libs']
out: -I/usr/local/include/giomm-2.4 -I/usr/local/lib/giomm-2.4/include -pthread -I/usr/local/include/glibmm-2.4 -I/usr/local/lib/glibmm-2.4/include -I/usr/local/include/glib-2.0 -I/usr/local/include -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -lgiomm-2.4 -lgio-2.0 -lglibmm-2.4 -lgobject-2.0 -lglib-2.0 -L/usr/local/lib -lsigc-2.0
yes
----------------------------------------------------
Checking for 'libcurl' >= 7.0.0
['/usr/local/bin/pkg-config', '--atleast-version=7.0.0', 'libcurl']
['/usr/local/bin/pkg-config', 'libcurl', '--cflags', '--libs']
out: -I/usr/local/include -L/usr/local/lib -lcurl
yes
----------------------------------------------------
Checking for 'liblo' >= 0.26
['/usr/local/bin/pkg-config', '--atleast-version=0.26', 'liblo']
['/usr/local/bin/pkg-config', 'liblo', '--cflags', '--libs']
out: -I/usr/local/include -L/usr/local/lib -llo -lpthread
yes
----------------------------------------------------
Checking for function dlopen
==>
#include <dlfcn.h>
int main() {
void *p;
p=(void*)(dlopen);
return 0;
}
<==
[1/2] [32mc: build/.conf_check_e83e0550ddd4ea346ab1a7869316110a/test.c -> build/.conf_check_e83e0550ddd4ea346ab1a7869316110a/testbuild/test.c.1.o
[0m
['/usr/bin/gcc', '-I/home/schrodinger/3.0', '-O0', '-g', '-fshow-column', '-I/usr/local/include/', '-I/home/schrodinger/3.0/build/.conf_check_e83e0550ddd4ea346ab1a7869316110a/testbuild', '-DINTERNAL_SHARED_LIBS=1', '-DJACK_SESSION=1', '-DHAVE_GLIB=1', '-DHAVE_GTHREAD=1', '-DHAVE_GLIBMM=1', '-DHAVE_SNDFILE=1', '-DHAVE_GIOMM=1', '-DHAVE_CURL=1', '-DHAVE_LO=1', '../test.c', '-c', '-o', 'test.c.1.o']
[2/2] [33mcprogram: build/.conf_check_e83e0550ddd4ea346ab1a7869316110a/testbuild/test.c.1.o -> build/.conf_check_e83e0550ddd4ea346ab1a7869316110a/testbuild/testprog
[0m
['/usr/bin/gcc', 'test.c.1.o', '-o', '/home/schrodinger/3.0/build/.conf_check_e83e0550ddd4ea346ab1a7869316110a/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ldl']
err: /usr/bin/ld: cannot find -ldl
from /home/schrodinger/3.0: Test does not build: Traceback (most recent call last):
File "/home/schrodinger/3.0/.waf-1.6.11-54eead9882bf480cf77ee15e6fbae7ee/waflib/Tools/c_config.py", line 445, in run_c_code
bld.compile()
File "/home/schrodinger/3.0/.waf-1.6.11-54eead9882bf480cf77ee15e6fbae7ee/waflib/Build.py", line 190, in compile
raise Errors.BuildError(self.producer.error)
BuildError: Build failed
-> task in 'testprog' failed (exit status 1):
{task 689434508: cprogram test.c.1.o -> testprog}
['/usr/bin/gcc', 'test.c.1.o', '-o', '/home/schrodinger/3.0/build/.conf_check_e83e0550ddd4ea346ab1a7869316110a/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ldl']
not found
from /home/schrodinger/3.0: The configuration failed