Discussion:
Issues compiling nsm/daw
Carlos sanchiavedraz
2012-10-18 08:17:55 UTC
Permalink
Hello dear all.

I've been trying to compile non-suite on past days, I would love to include
the complete suite as an important part on Musix, but no luck.
I've just updated via git and still having some issues but this time the
error is different. I've tried on two platforms:

1) Musix 3 beta 2 (based on Debian Squeeze, but beta 3 will be Wheeze)
2) Kubuntu 12.04

On my main target, Musix, I had to install:
* libcairo-dev
* xutils-dev

On both cases I got this error when compiling:

$ ./configure
Checking sanity... ok
--- Configuration required
Master configuration
:: Installation prefix? [/usr/local]
:: Build for debugging? [no]
Checking for ar... ok (/usr/bin/ar)
Checking for makedepend... ok (/usr/bin/makedepend)
Checking for ntk_config... failed!
Command ntk_config not found.

I see that lib/ntk is empty.

Thanks in advance.
--
Carlos sanchiavedraz
* Musix GNU+Linux
http://www.musix.es
J. Liles
2012-10-18 16:23:05 UTC
Permalink
On Thu, Oct 18, 2012 at 1:17 AM, Carlos sanchiavedraz
Post by Carlos sanchiavedraz
Hello dear all.
I've been trying to compile non-suite on past days, I would love to
include the complete suite as an important part on Musix, but no luck.
I've just updated via git and still having some issues but this time the
1) Musix 3 beta 2 (based on Debian Squeeze, but beta 3 will be Wheeze)
2) Kubuntu 12.04
* libcairo-dev
* xutils-dev
$ ./configure
Checking sanity... ok
--- Configuration required
Master configuration
:: Installation prefix? [/usr/local]
:: Build for debugging? [no]
Checking for ar... ok (/usr/bin/ar)
Checking for makedepend... ok (/usr/bin/makedepend)
Checking for ntk_config... failed!
Command ntk_config not found.
I see that lib/ntk is empty.
Thanks in advance.
Try following the instructions in README.build. Basically, it's the
function of the main Makefile to initialize/update the NTK submodule and
build NTK *before* running that configure script. You can do it all
manually if needed for you packaging scripts or whatever. But for the
average user, just typing 'make' will automagically work.
Carlos sanchiavedraz
2012-10-19 06:57:45 UTC
Permalink
On Thu, Oct 18, 2012 at 1:17 AM, Carlos sanchiavedraz <
Post by Carlos sanchiavedraz
Hello dear all.
I've been trying to compile non-suite on past days, I would love to
include the complete suite as an important part on Musix, but no luck.
I've just updated via git and still having some issues but this time the
1) Musix 3 beta 2 (based on Debian Squeeze, but beta 3 will be Wheeze)
2) Kubuntu 12.04
* libcairo-dev
* xutils-dev
$ ./configure
Checking sanity... ok
--- Configuration required
Master configuration
:: Installation prefix? [/usr/local]
:: Build for debugging? [no]
Checking for ar... ok (/usr/bin/ar)
Checking for makedepend... ok (/usr/bin/makedepend)
Checking for ntk_config... failed!
Command ntk_config not found.
I see that lib/ntk is empty.
Thanks in advance.
Try following the instructions in README.build. Basically, it's the
function of the main Makefile to initialize/update the NTK submodule and
build NTK *before* running that configure script. You can do it all
manually if needed for you packaging scripts or whatever. But for the
average user, just typing 'make' will automagically work.
You're right, these days before I did just like that, but this time I
forgot not to do ./configure first as is usual when compiling.

So:

2) On Kubuntu it compiles and even starts the configuration, but then it
says it needs Jack but it is installed:
--------------------------
$ make

[...]

--- Configuration required
Master configuration
:: Installation prefix? [/usr/local]
:: Build for debugging? [no]
Checking for ar... ok (/usr/bin/ar)
Checking for makedepend... ok (/usr/bin/makedepend)
Checking for ntk_config... ok (/home/user/tmp/non/lib/ntk/ntk-config)
Checking for FLTK... ok (1.3.0)
Checking for FLUID... ok (/home/user/tmp/non/lib/ntk/fluid/fluid)
Checking for JACK... failed!
Required package JACK doesn't appear to be installed.
make: *** [.config] Error 255

$ jackd -v
jackdmp 1.9.8
------------------------------

1) On Musix it doesn't get there:

$ make

[...]

=== making src ===
make[3]: se ingresa al directorio `/home/musix/tmp/non/lib/ntk/src'
Compiling Fl_Cairo_Graphics_Driver.cxx...
In file included from Fl_Cairo_Graphics_Driver.cxx:98:
../FL/x.H:68: error: expected initializer before ‘*’ token
../FL/x.H:93: error: variable or field ‘fl_clip_region’ declared void
../FL/x.H:93: error: ‘Fl_Region’ was not declared in this scope
../FL/x.H:94: error: ‘Fl_Region’ does not name a type
../FL/x.H:131: error: ‘Fl_Region’ does not name a type
../FL/x.H:173: error: ‘Fl_Region’ does not name a type
In file included from ../FL/fl_draw.H:39,
from Fl_Cairo_Graphics_Driver.cxx:101:
../FL/Fl_Device.H:137: error: ‘Fl_Region’ does not name a type
../FL/Fl_Device.H:220: error: ‘Fl_Region’ does not name a type
../FL/Fl_Device.H:221: error: ‘Fl_Region’ has not been declared
../FL/Fl_Device.H:347: error: ‘Fl_Region’ does not name a type
../FL/Fl_Device.H:349: error: ‘Fl_Region’ has not been declared
In file included from Fl_Cairo_Graphics_Driver.cxx:101:
../FL/fl_draw.H:145: error: variable or field ‘fl_clip_region’ declared void
../FL/fl_draw.H:145: error: ‘Fl_Region’ was not declared in this scope
../FL/fl_draw.H:149: error: ‘Fl_Region’ does not name a type
Fl_Cairo_Graphics_Driver.cxx: In member function ‘virtual void
Fl_Cairo_Graphics_Driver::pop_matrix()’:
Fl_Cairo_Graphics_Driver.cxx:172: warning: unused variable ‘cr’
Fl_Cairo_Graphics_Driver.cxx: In member function ‘virtual void
Fl_Cairo_Graphics_Driver::translate(double, double)’:
Fl_Cairo_Graphics_Driver.cxx:184: warning: unused variable ‘cr’
Fl_Cairo_Graphics_Driver.cxx: In member function ‘virtual void
Fl_Cairo_Graphics_Driver::scale(double, double)’:
Fl_Cairo_Graphics_Driver.cxx:192: warning: unused variable ‘cr’
Fl_Cairo_Graphics_Driver.cxx: In member function ‘virtual void
Fl_Cairo_Graphics_Driver::rotate(double)’:
Fl_Cairo_Graphics_Driver.cxx:200: warning: unused variable ‘cr’
Fl_Cairo_Graphics_Driver.cxx: In member function ‘virtual void
Fl_Cairo_Graphics_Driver::mult_matrix(double, double, double, double,
double, double)’:
Fl_Cairo_Graphics_Driver.cxx:208: warning: unused variable ‘cr’
Fl_Cairo_Graphics_Driver.cxx: In function ‘void fl_set_antialias(int)’:
Fl_Cairo_Graphics_Driver.cxx:308: warning: unused variable ‘cr’
Fl_Cairo_Graphics_Driver.cxx: At global scope:
Fl_Cairo_Graphics_Driver.cxx:107: warning: ‘aa’ defined but not used
make[3]: *** [Fl_Cairo_Graphics_Driver.o] Error 1
make[3]: se sale del directorio `/home/musix/tmp/non/lib/ntk/src'
make[2]: *** [all] Error 1
make[2]: se sale del directorio `/home/musix/tmp/non/lib/ntk'
make[1]: *** [ntk/src/Cairo_Theme.cxx] Error 2
make[1]: se sale del directorio `/home/musix/tmp/non/lib'
make: *** [lib/.built] Error 2
--------------
--
Carlos sanchiavedraz
* Musix GNU+Linux
http://www.musix.es
Loading...