On 11/9/2013 11:50 AM, Kelvin Chung wrote:
>
> On Nov 9, 2013, at 3:06 AM, Hanspeter Niederstrasser <f...@snaggledworks.com> 
> wrote:
>
>> On 11/9/2013 12:24 AM, Kelvin Chung wrote:
>>> On 2013-11-08 19:37:10 +0000, Hanspeter Niederstrasser said:
>>>> Please remember to copy the package maintainer when reporting a build
>>>> failure since he might not be subscribed to the -beginners list.
>>>>
>>>> A new version (2.11.0) of xerces-j has been committed to CVS that should
>>>> hopefully fix the failure reported here on 10.9 (tested to work on
>>>> 10.7).  Please selfupdate your Fink installation and report back if the
>>>> new xerces-j works (or doesn't) on 10.9.
>>>
>>> Builds fine on 10.9 as well.
>>>
>>> On a related note, this unlocks xalan-j, but it fails to build as well:
>>>
>>> serializer.compile:
>>>       [echo] Compiling the Serializer
>>>      [javac] Compiling 84 source files to
>>> /sw/src/fink.build/xalan-j-2.7.1-1/xalan-j_2_7_1/build/serializer
>>>      [javac] javac: target release 1.5 conflicts with default source 
>>> release 1.7
>>
>> What's the output of 'fink list system-java' on your 10.9 machien?
>>
>> Hanspeter
>>
>
> For me, I get this:
>
>   i   system-java      1.7.0-1      [virtual package representing Java 1.7.0]
>   i   system-java-dev  1.7.0-1      [virtual package representing Java SDK 
> 1....
>   i   system-java14    1.4.2-1      [virtual package representing Java 1.4.2]
>   i   system-java14-d  1.4.2-1      [virtual package representing Java 1.4.2 
> ...
>   i   system-java15    1.5.0-1      [virtual package representing Java 1.5.0]
>   i   system-java15-d  1.5.0-1      [virtual package representing Java 1.5.0 
> ...
>   i   system-java16    1.6.0-1      [virtual package representing Java 1.6.0]
>   i   system-java16-d  1.6.0-1      [virtual package representing Java 1.6.0 
> ...
>   i   system-java17    1.7.0-1      [virtual package representing Java 1.7.0]
>   i   system-java17-d  1.7.0-1      [virtual package representing Java 1.7.0 
> ...
>   i   system-java3d    0-1          [virtual package representing Java3D]
>   i   system-javaai    0-1          [virtual package representing Java 
> Advanc...


Thanks.  I wasn't sure what versions of java OS X 10.9 came with.  If 
you can try the following experiment, that would be very helpful:

1) copy the file /sw/fink/dists/stable/main/finkinfo/devel/xalan-j.info 
to /sw/fink/dists/local/main/finkinfo
2) Edit the newly copied file so that line 14 has the pound symbol # 
just before the word 'perl' (this comments out the command there). 
Also, change the revision field near the top to be Revision: 1.1

3) try to rebuild xalan-j.

3a) If the build still fails, edit line-14 to the following (all one 
line) (note addition of the 'source' field).

perl -pi -e 's,<javac,<javac target="1.5" source="1.5",g' build.xml

3b) If that doesn't work, change the two values of 1.5 to 1.6, and if it 
still fails, try 1.7 as the value.

And then report back your results.  I don't have 10.9 to test, but can 
cross reference to the working build on 10.7.  Thanks,

Hanspeter


------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
Fink-beginners mailing list
Fink-beginners@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.beginners
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to