Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] New csound debian packages (building from source packages)

Date2007-11-14 21:02
FromMichael Gogins
SubjectRe: [Cs-dev] New csound debian packages (building from source packages)
Because scons only looks in (a) standard Posix type places and (b) what's manually configured in custom.py. Adding this path to custom.py should fix the problem.

Regards,
Mike

-----Original Message-----
>From: Erik de Castro Lopo 
>Sent: Nov 14, 2007 2:47 PM
>To: csound-devel@lists.sourceforge.net
>Cc: Michael Gogins 
>Subject: Re: [Cs-dev] New csound debian packages (building from source packages)
>
>Michael Gogins wrote:
>
>> The jar was not built because jni.h was not found.
>
>On my machine its here:
>
>    /usr/lib/jvm/java-6-sun-1.6.0.03/include/jni.h
>
>Is that the right place? Why didn't sconcs find it?
>
>Erik
>-- 
>-----------------------------------------------------------------
>Erik de Castro Lopo
>-----------------------------------------------------------------
>"These days, she [Chahdortt Djavann] is a member of a government advisory
>council. There is also a French mullah on this council. "Why aren't boys
>veiled?", she asked with a smile. The mullah cleared his throat and
>answered that the truth of the Koran states that because girls are unclean
>from birth it is only natural that they be veiled. Against this level of
>stupidity, blasphemy is a duty."
>-- http://gatesofvienna.blogspot.com/2006/12/west-must-stop-tormenting-itself.html




-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2007-11-14 22:57
FromFelipe Sateler
SubjectRe: [Cs-dev] New csound debian packages (building from source packages)
AttachmentsNone  None  None  

Date2007-11-15 02:08
FromErik de Castro Lopo
SubjectRe: [Cs-dev] New csound debian packages (building from source packages)
Felipe Sateler wrote:

> Done. Added both sun's java and gcj compat layer to customCPPPATH. It should 
> work now.
> Get the new -3 revision (source only) from 
> 
> http://sateler.com/~fsateler/debian/
> 
> Note that now you only need the dsc and diff.gz files, the orig.tar.gz is the 
> same one.

I did that (just the .dsc and diff.ga) and tried to rebuild:

    dpkg-buildpackage: source package is csound
    dpkg-buildpackage: source version is 1:5.07.0.dfsg-3

but it still can't find jni.h

    Checking for C++ header file jni.h... (cached) no
    Checking for C++ header file /usr/lib/java/include/linux/jni_md.h... (cached) no
    Checking for C++ header file /usr/lib/jvm/java/include/linux/jni_md.h... (cached) no
    Checking for C++ header file /usr/lib/jvm/java-1.5.0/include/linux/jni_md.h... (cached) no

Maybe the problem is that I have a number of them, in the following
locations:

    /usr/include/xulrunner-1.9a8/unstable/jni.h
    /usr/include/xulrunner-1.9a8/stable/jni.h
    /usr/lib/gcc/i486-linux-gnu/4.2/include/jni.h
    /usr/lib/jvm/java-6-sun-1.6.0.03/include/jni.h
    /usr/lib/jvm/java-1.5.0-gcj-4.2-1.5.0.0/include/jni.h

The one I think it should be using is one of the last 3.

Erik
-- 
-----------------------------------------------------------------
Erik de Castro Lopo
-----------------------------------------------------------------
"... there's something really scary about a language (C++) where
copying state from one object to another is this complicated"
-- Richard Gillam

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2007-11-15 03:47
FromFelipe Sateler
SubjectRe: [Cs-dev] New csound debian packages (building from source packages)
AttachmentsNone  None  None  

Date2007-11-15 05:04
FromErik de Castro Lopo
SubjectRe: [Cs-dev] New csound debian packages (building from source packages)
Felipe Sateler wrote:

> Doh! I'm terribly sorry. I forgot to add the last /include to the paths[1], 
> and another path was missing. Now it should work (I added the missing include 
> and a new path for sun's jdk). This is the diff:



> Could you make this change and see if it builds correctly?

First pass it failed. If found jni.h but failed for some other
unknown reason.

I deleted all the sources, extracted them again, applied your
patch and then I did indeed get a set of packages.

Cheers,
Erik
-- 
-----------------------------------------------------------------
Erik de Castro Lopo
-----------------------------------------------------------------
Pastafarianism : http://www.venganza.org/
The intelligent alternative to 'Intelligent Design'.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2007-11-15 14:03
FromFelipe Sateler
SubjectRe: [Cs-dev] New csound debian packages (building from source packages)
AttachmentsNone  None  None