Re: [proaudio] could someone add minicomputer....

[ Thread Index | Date Index | More lists.tuxfamily.org/proaudio Archives ]


On So, 18.05.08 19:10 Dominique Michel <dominique.michel@xxxxxxxxxxxx>
wrote:

> Le Mon, 5 May 2008 09:47:04 +1000,
> naysayer <gateswideopen@xxxxxxxxx> a écrit :
> 
> > ....killa synth....
> > 
> > http://minicomputer.sourceforge.net/
> > 
> > thanks.
> 
> I looked into it, but all I get was:
> 
> # scons
> ...
> Checking for C++ library fltk... no
> Did not find FLTK for the gui, exiting!
> 
> I googled and try to hack the SCostruct file, but without success. I
> don't want to waste my time with this anymore as well that argue on
> scons against autotools.
> 
> It look like the developer is aware of this configure issue on gentoo:
> http://www.nabble.com/-ANN--Minicomputer-1.1-td15947996.html
> But I am not even sure if he understand that the problem is in the
> SConstruct file.
> 
> Cheers,
> Dominique

Similar problem on other distros too. And as no package maintainer is
willing to redo half of that freaking crappy scons sh*t, no
minicomputer for Gentoo and others.

I tried with attached patch, but it fails with a ton of undefined
references anyway then. Not willing to waste one single minute more. 

Fltk has such nice CMake modules... and CMake is so easy to use.
--- SConstruct.orig	2008-04-30 00:09:28.000000000 +0200
+++ SConstruct	2008-05-18 20:17:32.000000000 +0200
@@ -16,6 +16,8 @@
 	env.Append(CCFLAGS = ['-march=athlon-xp','-mtune=athlon-xp'])
 	guienv.Append(CPPFLAGS = ['-march=athlon-xp','-mtune=athlon-xp'])
 
+env.Append(CCFLAGS = ['-I/usr/include/fltk-1.1','-L/usr/lib/fltk-1.1'])
+guienv.Append(CPPFLAGS = ['-I/usr/include/fltk-1.1','-L/usr/lib/fltk-1.1'])
 
 # env.Append(CCFLAGS = '  -O3 -mfpmath=sse -msse -msse2  -fverbose-asm  -ffast-math -funit-at-a-time -fpeel-loops -ftracer -funswitch-loops -Wall -fmessage-length=0')
 
@@ -47,9 +49,6 @@
 if not guiconf.CheckLibWithHeader('lo', 'lo/lo.h','c'):
 	print 'Did not find liblo for OSC, exiting!'
 	Exit(1)
-if not guiconf.CheckLibWithHeader('fltk', 'FL/Fl.H','c++'):
-	print 'Did not find FLTK for the gui, exiting!'
-	Exit(1)
 if not guiconf.CheckLibWithHeader('asound', 'alsa/asoundlib.h','c'):
 	print 'Did not find alsa, exiting!'
 	Exit(1)

Attachment: signature.asc
Description: PGP signature



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/