Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] GBS 9

Date2005-03-06 13:25
FromVictor Lazzarini
SubjectRe: [Cs-dev] GBS 9
I don't know then. Anyway, it's fixable manually.

thanks

Victor

> 
> ramsdell@mitre.org (John D. Ramsdell) writes:
> 
> > Victor Lazzarini  writes:
> > 
> > > ... but the configure script picked up, quite rightly
> > > that I have X11 installed, so ...
> > > 
> > > The script should have include -lX11 in the makefiles,
> > > in the macro definition for the libs, just after
> '-framework carbon'.
> 
> Victor,
> 
> I just got remote access to a MacOS X machine, but did not
> have any problem using the distribution to build an X11
> enabled version of Csound.  There were no linking errors. 
> Given that I cannot duplicate the error, I'm not sure
> where to go from here.
> 
> John
> 
> > Well this failure is not of my doing.  The configure.ac
> > script uses the AC_PATH_X macro to figure out libraries
> > needed by X11, and apparently the version of that macro
> > I'm using on Linux to build the distribution does not
> > correctly handle X11 on MacOS X.  I'll try to trace this
> > failure down, as it must be causing a lot of other
> > people problems.  Thanks for the bug report. 
> > > I suppose it hasn't done it because somewhere in the
> > > script, in the OSX platform bits, it is missing
> > > whatever code or directive it needs to do so. It might
> > > be just the case of comparing the script bits for the
> > > Linux and OSX platforms. 
> > > Victor
> > > 
> > > At 02:51 23/02/2005, you wrote:
> > > >With Cygwin on Windows, one can use FLTK built on 
top
> > > of X11, but one >usually uses FLTK built on top of the
> > > native Windows library. >Similarly, on a Mac, I expect
> > > most people will build Csound GBS with >an FLTK that
> > > uses the native window system, and not with X11.
> >However, I'm interested in the bug report because there
> > > is no reason >one should not be able to build the
> > > system with X11 whenever it is >available.
> > > 
> > > Victor Lazzarini
> > > Music Technology Laboratory
> > > Music Department
> > > National University of Ireland, Maynooth
> > >
> > >
> ------------------------------------------------------- SF
> > > email is sponsored by - The IT Product Guide Read
> honest & candid reviews on hundreds of IT Products from
> > > real users. Discover which products truly live up to
> > > the hype. Start reading now.
> > >
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=
click
> > > 
_______________________________________________
> > > Csound-devel mailing list
> > > Csound-devel@lists.sourceforge.net
> >
> >
> https://lists.sourceforge.net/lists/listinfo/csound-devel 
> > -------------------------------------------------------
> > SF email is sponsored by - The IT Product Guide
> > Read honest & candid reviews on hundreds of IT Products
> > from real users. Discover which products truly live up
> > to the hype. Start reading now.
> > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=
click
> > 
_______________________________________________
> > Csound-devel mailing list
> > Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
> 
> 
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products
> from real users. Discover which products truly live up to
> the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=
click
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2005-03-06 16:06
Fromramsdell@mitre.org (John D. Ramsdell)
SubjectRe: [Cs-dev] GBS 9
Victor Lazzarini  writes:

> I don't know then. Anyway, it's fixable manually.

Yeah, but the whole point of a GBS distribution is it should not need
manual intervention on reasonably configured machines.  For me,
"fixable manually" means that the GBS distribution is failing at its
mission, and its constructors need repair.  Maybe there is some
operating system version problem I should know about.  I have enclosed
the result of uname.  Does this tell you which version of MacOS X I'm
using, and how it compares with yours?

$ ssh chauvin
ramsdell@chauvin's password:

Last login: Sat Mar  5 21:50:04 2005 from 129.83.10.75
Welcome to Darwin!
chauvin:~ ramsdell$ uname -a
Darwin chauvin.mitre.org 7.7.0 Darwin Kernel Version 7.7.0: Sun Nov  7 16:06:51 PST 2004; root:xnu/xnu-517.9.5.obj~1/RELEASE_PPC  Power Macintosh powerpc
chauvin:~ ramsdell$ exit
logout
Connection to chauvin closed.
$ 

By the way, did you ever find the fltk-config script on your machine?
The machine I used did not have FLTK installed, so I installed it
after configuring it with:

$ ./configure --enable-threads --prefix=$HOME

and then installed Csound after configuring it with:

$ PATH=$HOME/bin:$PATH ./configure --prefix=$HOME

I tested the X11 installation with:

$ ./configure --prefix=$HOME

The current version of the GBS distribution of Csound supposedly can
load plugins.  To enable plugins, you must enabled shared libraries,
so configure it with:

$ PATH=$HOME/bin:$PATH ./configure --prefix=$HOME --enable-shared

Plugin support has not been tested by me.

In case your wondering, the GBS configure script figures out if FLTK
is built on top of X11 by attempting to link programs using the
libraries returned from the fltk-config script.  You have to let
fltk-config tell you this fact for correct results.

John

> > ramsdell@mitre.org (John D. Ramsdell) writes:
> > 
> > > Victor Lazzarini  writes:
> > > 
> > > > ... but the configure script picked up, quite rightly
> > > > that I have X11 installed, so ...
> > > > 
> > > > The script should have include -lX11 in the makefiles,
> > > > in the macro definition for the libs, just after
> > '-framework carbon'.
> > 
> > Victor,
> > 
> > I just got remote access to a MacOS X machine, but did not
> > have any problem using the distribution to build an X11
> > enabled version of Csound.  There were no linking errors. 
> > Given that I cannot duplicate the error, I'm not sure
> > where to go from here.
> > 
> > John
> > 
> > > Well this failure is not of my doing.  The configure.ac
> > > script uses the AC_PATH_X macro to figure out libraries
> > > needed by X11, and apparently the version of that macro
> > > I'm using on Linux to build the distribution does not
> > > correctly handle X11 on MacOS X.  I'll try to trace this
> > > failure down, as it must be causing a lot of other
> > > people problems.  Thanks for the bug report. 
> > > > I suppose it hasn't done it because somewhere in the
> > > > script, in the OSX platform bits, it is missing
> > > > whatever code or directive it needs to do so. It might
> > > > be just the case of comparing the script bits for the
> > > > Linux and OSX platforms. 
> > > > Victor
> > > > 
> > > > At 02:51 23/02/2005, you wrote:
> > > > >With Cygwin on Windows, one can use FLTK built on 
> top
> > > > of X11, but one >usually uses FLTK built on top of the
> > > > native Windows library. >Similarly, on a Mac, I expect
> > > > most people will build Csound GBS with >an FLTK that
> > > > uses the native window system, and not with X11.
> > >However, I'm interested in the bug report because there
> > > > is no reason >one should not be able to build the
> > > > system with X11 whenever it is >available.
> > > > 
> > > > Victor Lazzarini
> > > > Music Technology Laboratory
> > > > Music Department
> > > > National University of Ireland, Maynooth
> > > >
> > > >
> > ------------------------------------------------------- SF
> > > > email is sponsored by - The IT Product Guide Read
> > honest & candid reviews on hundreds of IT Products from
> > > > real users. Discover which products truly live up to
> > > > the hype. Start reading now.
> > > >
> > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=
> click
> > > > 
> _______________________________________________
> > > > Csound-devel mailing list
> > > > Csound-devel@lists.sourceforge.net
> > >
> > >
> > https://lists.sourceforge.net/lists/listinfo/csound-devel 
> > > -------------------------------------------------------
> > > SF email is sponsored by - The IT Product Guide
> > > Read honest & candid reviews on hundreds of IT Products
> > > from real users. Discover which products truly live up
> > > to the hype. Start reading now.
> > > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=
> click
> > > 
> _______________________________________________
> > > Csound-devel mailing list
> > > Csound-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/csound-devel
> > 
> > 
> > -------------------------------------------------------
> > SF email is sponsored by - The IT Product Guide
> > Read honest & candid reviews on hundreds of IT Products
> > from real users. Discover which products truly live up to
> > the hype. Start reading now.
> > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=
> click
> > _______________________________________________
> > Csound-devel mailing list
> > Csound-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/csound-devel
> 
> 
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2005-03-06 16:13
Fromramsdell@mitre.org (John D. Ramsdell)
SubjectRe: [Cs-dev] GBS 9
Victor Lazzarini  writes:

> I don't know then. Anyway, it's fixable manually.

On second thought, I know how to debug this.  Please create a fresh
directory, and expand csound-4.23f12gbs.9.tar.gz into it.  Change into
the directory, and type:

$ echo $PATH > p.txt
$ uname -a > u.txt
$ ./configure --prefix=$HOME > c.txt 2>&1
$ make > m.txt 2>&1

Send the files p.txt, u.txt, config.out, c.txt, and m.txt to me in
private mail.  These files should contain all I need to know to debug
this problem.

John


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2005-03-06 20:11
Fromramsdell@mitre.org (John D. Ramsdell)
SubjectRe: [Cs-dev] GBS 9
The commands in the enclosed note use Bourne Shell syntax.  If you use
a C Shell, enter a shell that uses the correct syntax with /bin/bash.

John

ramsdell@mitre.org (John D. Ramsdell) writes:

> Victor Lazzarini  writes:
> 
> > I don't know then. Anyway, it's fixable manually.
> 
> Yeah, but the whole point of a GBS distribution is it should not need
> manual intervention on reasonably configured machines.  For me,
> "fixable manually" means that the GBS distribution is failing at its
> mission, and its constructors need repair.  Maybe there is some
> operating system version problem I should know about.  I have enclosed
> the result of uname.  Does this tell you which version of MacOS X I'm
> using, and how it compares with yours?
> 
> $ ssh chauvin
> ramsdell@chauvin's password:
> 
> Last login: Sat Mar  5 21:50:04 2005 from 129.83.10.75
> Welcome to Darwin!
> chauvin:~ ramsdell$ uname -a
> Darwin chauvin.mitre.org 7.7.0 Darwin Kernel Version 7.7.0: Sun Nov  7 16:06:51 PST 2004; root:xnu/xnu-517.9.5.obj~1/RELEASE_PPC  Power Macintosh powerpc
> chauvin:~ ramsdell$ exit
> logout
> Connection to chauvin closed.
> $ 
> 
> By the way, did you ever find the fltk-config script on your machine?
> The machine I used did not have FLTK installed, so I installed it
> after configuring it with:
> 
> $ ./configure --enable-threads --prefix=$HOME
> 
> and then installed Csound after configuring it with:
> 
> $ PATH=$HOME/bin:$PATH ./configure --prefix=$HOME
> 
> I tested the X11 installation with:
> 
> $ ./configure --prefix=$HOME
> 
> The current version of the GBS distribution of Csound supposedly can
> load plugins.  To enable plugins, you must enabled shared libraries,
> so configure it with:
> 
> $ PATH=$HOME/bin:$PATH ./configure --prefix=$HOME --enable-shared
> 
> Plugin support has not been tested by me.
> 
> In case your wondering, the GBS configure script figures out if FLTK
> is built on top of X11 by attempting to link programs using the
> libraries returned from the fltk-config script.  You have to let
> fltk-config tell you this fact for correct results.
> 
> John
> 
> > > ramsdell@mitre.org (John D. Ramsdell) writes:
> > > 
> > > > Victor Lazzarini  writes:
> > > > 
> > > > > ... but the configure script picked up, quite rightly
> > > > > that I have X11 installed, so ...
> > > > > 
> > > > > The script should have include -lX11 in the makefiles,
> > > > > in the macro definition for the libs, just after
> > > '-framework carbon'.
> > > 
> > > Victor,
> > > 
> > > I just got remote access to a MacOS X machine, but did not
> > > have any problem using the distribution to build an X11
> > > enabled version of Csound.  There were no linking errors. 
> > > Given that I cannot duplicate the error, I'm not sure
> > > where to go from here.
> > > 
> > > John
> > > 
> > > > Well this failure is not of my doing.  The configure.ac
> > > > script uses the AC_PATH_X macro to figure out libraries
> > > > needed by X11, and apparently the version of that macro
> > > > I'm using on Linux to build the distribution does not
> > > > correctly handle X11 on MacOS X.  I'll try to trace this
> > > > failure down, as it must be causing a lot of other
> > > > people problems.  Thanks for the bug report. 
> > > > > I suppose it hasn't done it because somewhere in the
> > > > > script, in the OSX platform bits, it is missing
> > > > > whatever code or directive it needs to do so. It might
> > > > > be just the case of comparing the script bits for the
> > > > > Linux and OSX platforms. 
> > > > > Victor
> > > > > 
> > > > > At 02:51 23/02/2005, you wrote:
> > > > > >With Cygwin on Windows, one can use FLTK built on 
> > top
> > > > > of X11, but one >usually uses FLTK built on top of the
> > > > > native Windows library. >Similarly, on a Mac, I expect
> > > > > most people will build Csound GBS with >an FLTK that
> > > > > uses the native window system, and not with X11.
> > > >However, I'm interested in the bug report because there
> > > > > is no reason >one should not be able to build the
> > > > > system with X11 whenever it is >available.
> > > > > 
> > > > > Victor Lazzarini
> > > > > Music Technology Laboratory
> > > > > Music Department
> > > > > National University of Ireland, Maynooth
> > > > >
> > > > >
> > > ------------------------------------------------------- SF
> > > > > email is sponsored by - The IT Product Guide Read
> > > honest & candid reviews on hundreds of IT Products from
> > > > > real users. Discover which products truly live up to
> > > > > the hype. Start reading now.
> > > > >
> > > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=
> > click
> > > > > 
> > _______________________________________________
> > > > > Csound-devel mailing list
> > > > > Csound-devel@lists.sourceforge.net
> > > >
> > > >
> > > https://lists.sourceforge.net/lists/listinfo/csound-devel 
> > > > -------------------------------------------------------
> > > > SF email is sponsored by - The IT Product Guide
> > > > Read honest & candid reviews on hundreds of IT Products
> > > > from real users. Discover which products truly live up
> > > > to the hype. Start reading now.
> > > > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=
> > click
> > > > 
> > _______________________________________________
> > > > Csound-devel mailing list
> > > > Csound-devel@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/csound-devel
> > > 
> > > 
> > > -------------------------------------------------------
> > > SF email is sponsored by - The IT Product Guide
> > > Read honest & candid reviews on hundreds of IT Products
> > > from real users. Discover which products truly live up to
> > > the hype. Start reading now.
> > > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=
> > click
> > > _______________________________________________
> > > Csound-devel mailing list
> > > Csound-devel@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/csound-devel
> > 
> > 
> > -------------------------------------------------------
> > SF email is sponsored by - The IT Product Guide
> > Read honest & candid reviews on hundreds of IT Products from real users.
> > Discover which products truly live up to the hype. Start reading now.
> > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> > _______________________________________________
> > Csound-devel mailing list
> > Csound-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/csound-devel
> 
> 
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net