Csound Csound-dev Csound-tekno Search About

[Cs-dev] GBS 9

Date2005-02-22 22:30
FromVictor Lazzarini
Subject[Cs-dev] GBS 9
I have just tried building cs423 GBS 9 on OSX from
the sources. I'd like to report a few things:

1. the makefiles included a ld flag -R/usr/lib/X11, which
    the linker does not like (I'd never seen it before)
    perhaps -L is meant (changed manually and it
    was OK)

2. even though X11 was selected by configure, the makefiles
   lacked the -lX11 flag. Added manually.

3. ccsound.cpp tries to include , which
    is not found in the include path. Changed ccsound.cpp
    to include 

With these changes, it builds. 

Is it possible to build it with fltk support?

Victor


-------------------------------------------------------
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-02-23 01:37
Fromramsdell@mitre.org (John D. Ramsdell)
SubjectRe: [Cs-dev] GBS 9
Victor,

I added these changes into the repository.  They should fix all your
problems, except I'm not sure about the -lX11 problem.

diff -u -r1.126 ChangeLog
--- ChangeLog	22 Feb 2005 06:28:57 -0000	1.126
+++ ChangeLog	23 Feb 2005 01:13:21 -0000
@@ -1,3 +1,11 @@
+2005-02-22  John D. Ramsdell  
+
+	* csound/Makefile.am (csound_CXXFLAGS): Added -I$(top_srcdir) so
+	that includes work correctly.
+
+	* configure.ac: Removed -Wl,-R$x_libraries from LDFLAGS except
+	when compiling on NetBSD.
+
 2005-02-21 ma++ 
 
 	* added some error checking for corrupt sfont files
Index: configure.ac
===================================================================
RCS file: /cvsroot/csound/csound/configure.ac,v
retrieving revision 1.70
diff -u -r1.70 configure.ac
--- configure.ac	22 Feb 2005 01:59:28 -0000	1.70
+++ configure.ac	23 Feb 2005 01:13:21 -0000
@@ -246,7 +246,10 @@
         CFLAGS="$CFLAGS -I$x_includes"
       fi
       if test -n "$x_libraries"; then
-        LDFLAGS="$LDFLAGS -Wl,-R$x_libraries -L$x_libraries"
+        LDFLAGS="$LDFLAGS -L$x_libraries"
+        if test "x$opsys" = xnetbsd; then
+          LDFLAGS="$LDFLAGS -Wl,-R$x_libraries"
+        fi
       fi
 # Note: Win32 support is currently broken.
 #   elif test "x$opsys" = xwin32; then
cvs diff: Diffing csound
Index: csound/Makefile.am
===================================================================
RCS file: /cvsroot/csound/csound/csound/Makefile.am,v
retrieving revision 1.30
diff -u -r1.30 Makefile.am
--- csound/Makefile.am	12 Feb 2005 17:44:12 -0000	1.30
+++ csound/Makefile.am	23 Feb 2005 01:13:21 -0000
@@ -16,6 +16,7 @@
 # Console Csound
 
 csound_SOURCES = ccsound.cpp
+csound_CXXFLAGS= -I$(top_srcdir) -I$(top_builddir)
 csound_LDFLAGS = $(CONSOLE_LDFLAGS)
 csound_LDADD = libcsound.la
 csound_DEPENDENCIES = libcsound.la 
cvs diff: Diffing doc

John

Victor Lazzarini  writes:

> I have just tried building cs423 GBS 9 on OSX from
> the sources. I'd like to report a few things:
> 
> 1. the makefiles included a ld flag -R/usr/lib/X11, which
>     the linker does not like (I'd never seen it before)
>     perhaps -L is meant (changed manually and it
>     was OK)
> 
> 2. even though X11 was selected by configure, the makefiles
>    lacked the -lX11 flag. Added manually.
> 
> 3. ccsound.cpp tries to include , which
>     is not found in the include path. Changed ccsound.cpp
>     to include 
> 
> With these changes, it builds. 
> 
> Is it possible to build it with fltk support?
> 
> Victor
> 
> 
> -------------------------------------------------------
> 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-02-23 02:00
FromAnthony Kozar
SubjectRe: [Cs-dev] GBS 9
GBS 8 built just fine for me on OS X 10.2.8 with GCC 3.3 and FLTK installed
in usr/local/lib.  (Console binaries build but do not work completely
correctly).

But I do not have X11 installed, so maybe something goes awry in that
situation.

I don't plan to try GBS 9 since it is only supposed to fix a Windows build
issue.

Anthony

On 2/22/05 5:30 PM, Victor Lazzarini  etched in
stone:

> Is it possible to build it with fltk support?



-------------------------------------------------------
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-02-23 02:51
Fromramsdell@mitre.org (John D. Ramsdell)
SubjectRe: [Cs-dev] GBS 9
Anthony Kozar  writes:

> But I do not have X11 installed, so maybe something goes awry in
> that situation.

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.

> I don't plan to try GBS 9 since it is only supposed to fix a Windows
> build issue.

Correct, there is no need to update the Mac distribution.

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-02-23 10:45
FromVictor Lazzarini
SubjectRe: [Cs-dev] GBS 9
But you should note that my FLTK here is using the native windowing
system, not X11. I have built csound without fltk to start with, but the
configure script picked up, quite rightly that I have X11 installed, so
it would be using it for creating the table display windows (I suppose).

The script should have include -lX11 in the makefiles, in the macro
definition for the libs, just after '-framework carbon'. 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

Date2005-02-27 22:30
Fromramsdell@mitre.org (John D. Ramsdell)
SubjectRe: [Cs-dev] GBS 9
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'.

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

Date2005-03-06 04:12
Fromramsdell@mitre.org (John D. Ramsdell)
SubjectRe: [Cs-dev] GBS 9
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