On 26/12/2009, "Patrick Shirkey" <[email protected]> wrote:
> >On 12/26/2009 10:18 PM, james morris wrote: >> On 26/12/2009, "Ralf Mardorf"<[email protected]> wrote: >> >>>> http://www.arnoldarts.de/drupal/?q=JackMix >>>> >> Any ideas as to how to get it to recognize JACK in /usr/local/lib64/ ? >> > > >At compile time or runtime? > >For compile time you might need to specify --libdir =/usr/lib64 Compile time. --libdir fails also. I've tried all sorts of variations of passing /usr/local/lib64 to scons, but it always fails. ie: LIBS=/usr/local/lib64 scons JACKLIBS=/usr/local/lib64 scons JACK_LIBS=/usr/local/lib64 scons etc etc etc pkg-config does work: mus...@scrapyard:~/SRC/jackmix-0.4.1$ pkg-config --libs jack -L/usr/local/lib64 -ljack -lpthread -lrt here's the SConstruct file: env = Environment( tools=['default', 'pkgconfig', 'qt4muc' ], toolpath=['admin'] ) env.Replace( LIBS="" ) env.Replace( LIBPATH="" ) env['CXXFLAGS']+="-Wall -Werror -g -fpic" tests = { } tests.update( env['PKGCONFIG_TESTS'] ) conf = Configure( env, custom_tests=tests, conf_dir='cache', log_file='cache/config.log' ) if not conf.CheckHeader( 'stdio.h', language="C" ): Exit( 1 ) if not conf.CheckHeader( "iostream", language="C++" ): Exit( 1 ) allpresent = 1 allpresent &= conf.CheckForPKGConfig() pkgs = { 'jack' : '0.100.0', 'lash-1.0' : '0.5.1', 'QtCore' : '4.2', 'QtGui' : '4.2', 'QtXml' : '4.2', } for pkg in pkgs: name2 = pkg.replace("+","").replace(".","").replace("-","").upper() env['%s_FLAGS' % name2] = conf.GetPKGFlags( pkg, pkgs[pkg] ) if env['%s_FLAGS'%name2] == 0: allpresent &= 0 if not allpresent: print "(At least) One of the dependencies is missing. I can't go on without it..." Exit( 1 ) env = conf.Finish() env.MergeFlags( "-I#" ) env.MergeFlags( env["QTCORE_FLAGS"] ) ## target processing is done in the subdirectory env.SConscript( dirs=['libcore','libqlash','libgui','backend','libmatrix','libelements','jackmix'], exports="env" ) _______________________________________________ Linux-audio-dev mailing list [email protected] http://lists.linuxaudio.org/listinfo/linux-audio-dev
