Re: [Fink-devel] Request for Package review

2010-03-27 Thread Koen van der Drift

On Mar 27, 2010, at 1:20 PM, Hariharan B wrote:

> That is why I gave the instruction to set JAVA_HOME before running  
> extex

Then I suggest you then give clearer instructions. You cannot assume  
that the user has JAVA_HOME in /usr.

- Koen.

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] Request for Package review

2010-03-27 Thread Hariharan B
Ah, you're mistaken.

See, the extex startup script's first line is

if $JAVA_HOME = ,
echo "please set your JAVA_HOME"

That is why I gave the instruction to set JAVA_HOME before running extex.
The fact that it had /usr is purely a coincidence. Anyways, I've to correct
the errors pointed out by nieder. I'll do that first.

On Sat, Mar 27, 2010 at 9:43 PM, Koen van der Drift <
koenvanderdr...@gmail.com> wrote:

>
> On Mar 27, 2010, at 12:04 PM, Benjamin Reed wrote:
>
>
>> It looks like you have $JAVA_HOME set to /usr for some reason, which is
>> not a valid $JAVA_HOME value.  It has to be one of:
>>
>
>
> That's because of the instructions in the extex package:
>
> Usage Notes:
>  On terminal type the commands
>  -
>  cp /sw/share/doc/ExTeX/homefile/*.* /Users//.
>  cp /sw/share/doc/ExTeX/homefile/.extex /Users//.
>  export JAVA_HOME=/usr
>  cd /Users/
>  extex
>  -
>
>  
>  
>  Note that bin/java need NOT be present in JAVA_HOME
>
>
> On a new terminal window I get:
>
> $ java -version
>
> java version "1.5.0_22"
> Java(TM) 2 Runtime Environment, Standard Edition (build
> 1.5.0_22-b03-333-9M3125)
> Java HotSpot(TM) Client VM (build 1.5.0_22-147, mixed mode, sharing)
>
>
> - Koen.
>



-- 
Regards,

Hariharan B
International Institute of Information Technology, Bangalore
--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Re: [Fink-devel] Request for Package review

2010-03-27 Thread Koen van der Drift

On Mar 27, 2010, at 12:04 PM, Benjamin Reed wrote:

>
> It looks like you have $JAVA_HOME set to /usr for some reason, which  
> is
> not a valid $JAVA_HOME value.  It has to be one of:


That's because of the instructions in the extex package:

Usage Notes:
  On terminal type the commands
  -
  cp /sw/share/doc/ExTeX/homefile/*.* /Users//.
  cp /sw/share/doc/ExTeX/homefile/.extex /Users//.
  export JAVA_HOME=/usr
  cd /Users/
  extex
  -
  
  
  Note that bin/java need NOT be present in JAVA_HOME


On a new terminal window I get:

$ java -version
java version "1.5.0_22"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_22- 
b03-333-9M3125)
Java HotSpot(TM) Client VM (build 1.5.0_22-147, mixed mode, sharing)


- Koen.

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] Request for Package review

2010-03-27 Thread Benjamin Reed
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 3/27/10 9:31 AM, Koen van der Drift wrote:
> 
>> This error message will come if your Java version is 1.5. Please  
>> find out your version using this command
>>
>> java -version
> 
> $ java -version
> Unable to find a $JAVA_HOME at "/usr", continuing with system-provided  

It looks like you have $JAVA_HOME set to /usr for some reason, which is
not a valid $JAVA_HOME value.  It has to be one of:

  /Library/Java/Home
  /System/Library/Frameworks/JavaVM.framework/Versions/X/Home

/usr does not contain all of the things that a $JAVA_HOME expect
($JAVA_HOME/src.jar, lib/deploy.jar, the right headers in include/).

Whatever it is that's setting that will cause issues, if nothing else.
Can't speak for the rest of the issue.  :)

- -- 
Benjamin Reed a.k.a. Ranger Rick a.k.a. Raccoon Fink
Fink, KDE, and Mac OS X development

Blog: http://www.raccoonfink.com/
Music: http://music.raccoonfink.com/

-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.12 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFLriygUu+jZtP2Zf4RAjqsAKCJpG7RqjVNCG/rfuPHTTOAmG4RpgCfTrDq
GeTpKYDN+8d0/d85u6FkjYA=
=mPO0
-END PGP SIGNATURE-

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] Request for Package review

2010-03-27 Thread Koen van der Drift

> This error message will come if your Java version is 1.5. Please  
> find out your version using this command
>
> java -version

$ java -version
Unable to find a $JAVA_HOME at "/usr", continuing with system-provided  
Java...
java version "1.5.0_22"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_22- 
b03-333-9M3125)
Java HotSpot(TM) Client VM (build 1.5.0_22-147, mixed mode, sharing)


> One more thing, your jdk 1.6 need not necessarily be installed in / 
> usr/bin/java. Please do a whereis java and inform me. I'll add it in  
> DescUsage field so that other users will find it useful as well.  
> Plus, thank you for notifying that the info file is building properly.


$ whereis java
/usr/bin/java


> PS: Which version of Mac are you using, so that I can try it here.

G5 iMac.


I also saw that you put a pdf file in the man directory, I don't know  
if that is allowed.  You also use %d%p, this can be replaced by %i.


- Koen.

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] Request for Package review

2010-03-27 Thread Hariharan B
Hello koen,

This error message will come if your Java version is 1.5. Please find out
your version using this command

java -version

One more thing, your jdk 1.6 need not necessarily be installed in
/usr/bin/java. Please do a *whereis java* and inform me. I'll add it in
DescUsage field so that other users will find it useful as well. Plus, thank
you for notifying that the info file is building properly.

PS: Which version of Mac are you using, so that I can try it here.

On Sat, Mar 27, 2010 at 4:59 PM, Koen van der Drift <
koenvanderdr...@gmail.com> wrote:

> It builds fine, but when I run the program, I get this:
>
> Unable to find a $JAVA_HOME at "/usr", continuing with system-provided
> Java...
> Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad
> version number in .class file
>at java.lang.ClassLoader.defineClass1(Native Method)
>at java.lang.ClassLoader.defineClass(ClassLoader.java:676)
>at
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
>at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
>at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
>at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
>at java.security.AccessController.doPrivileged(Native Method)
>at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>at java.lang.ClassLoader.loadClass(ClassLoader.java:317)
>at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:280)
>at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
>at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:375)
>
> This is on
>
> Package manager version: 0.29.99.cvs
> Distribution version: selfupdate-cvs Fri Mar 26 22:59:24 2010, 10.5,
> powerpc
>
> with java installed:
>
>  i  system-java 1.6.0-1 [virtual package representing Java 1.6.0]
>  i  system-java-dev 1.6.0-1 [virtual package representing Java SDK
> 1.6.0]
>  i  system-java14   1.4.2-1 [virtual package representing Java 1.4.2]
>  i  system-java14-dev   1.4.2-1 [virtual package representing Java
> 1.4.2 development headers]
>  i  system-java15   1.5.0-1 [virtual package representing Java 1.5.0]
>  i  system-java15-dev   1.5.0-1 [virtual package representing Java
> 1.5.0 development headers]
>  i  system-java16   1.6.0-1 [virtual package representing Java 1.6.0]
>  i  system-java16-dev   1.6.0-1 [virtual package representing Java
> 1.6.0 development headers]
>  i  system-java3d   0-1 [virtual package representing Java3D]
>  i  system-javaai   0-1 [virtual package representing Java Advanced
> Imaging]
>
>
>
> - Koen.
>
>
> On Mar 26, 2010, at 3:33 PM, Hariharan B wrote:
>
>  Hello Koen,
>>
>> As per your suggestion, I have added the depends field. Please check and
>> notify any changes needed.
>>
>> Thank you
>>
>>
>> On Fri, Mar 26, 2010 at 11:38 PM, Koen van der Drift <
>> koenvanderdr...@gmail.com> wrote:
>> 
>>
>> Unfortunately you cannot assume that java is installed. So you need to
>> include a dependency on java. There are other packages that depend on
>> java that you can use as an example.
>>
>> - Koen.
>>
>>
>> On Fri, Mar 26, 2010 at 1:47 AM, Hariharan B 
>> wrote:
>> > Hi,
>> >
>> > The link to the info file is:
>> >
>> >
>> http://sourceforge.net/tracker/?func=detail&aid=2961903&group_id=17203&atid=414256
>> >
>> >
>> > Thanks
>> >
>> > On Fri, Mar 26, 2010 at 10:46 AM, Hariharan B 
>> wrote:
>> >>
>> >> Hi,
>> >>
>> >> I submitted my info file of ExTeX after making changes that was
>> suggested
>> >> by nieder. Can anyone please review it?
>> >>
>> >> Thank you
>> >> --
>> >> Regards,
>> >>
>> >> Hariharan B
>> >> International Institute of Information Technology, Bangalore
>> >>
>> >
>> >
>> >
>> > --
>> > Regards,
>> >
>> > Hariharan B
>> > International Institute of Information Technology, Bangalore
>> >
>> >
>> >
>> --
>> > Download Intel® Parallel Studio Eval
>> > Try the new software tools for yourself. Speed compiling, find bugs
>> > proactively, and fine-tune applications for parallel performance.
>> > See why Intel Parallel Studio got high marks during beta.
>> > http://p.sf.net/sfu/intel-sw-dev
>> > ___
>> > Fink-devel mailing list
>> > Fink-devel@lists.sourceforge.net
>> > http://news.gmane.org/gmane.os.apple.fink.devel
>> > Subscription management:
>> > https://lists.sourceforge.net/lists/listinfo/fink-devel
>> >
>>
>>
>>
>> --
>> Regards,
>>
>> Hariharan B
>> International Institute of Information Technology, Bangalore
>>
>>
>


-- 
Regards,

Hariharan B
International Institute of Information Technology, Bangalore
--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tu

Re: [Fink-devel] Request for Package review

2010-03-27 Thread Koen van der Drift
It builds fine, but when I run the program, I get this:

Unable to find a $JAVA_HOME at "/usr", continuing with system-provided  
Java...
Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad  
version number in .class file
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:676)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java: 
124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:317)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:280)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:375)

This is on

Package manager version: 0.29.99.cvs
Distribution version: selfupdate-cvs Fri Mar 26 22:59:24 2010, 10.5,  
powerpc

with java installed:

  i system-java 1.6.0-1 [virtual package representing Java 1.6.0]
  i system-java-dev 1.6.0-1 [virtual package representing Java SDK  
1.6.0]
  i system-java14   1.4.2-1 [virtual package representing Java 1.4.2]
  i system-java14-dev   1.4.2-1 [virtual package representing Java  
1.4.2 development headers]
  i system-java15   1.5.0-1 [virtual package representing Java 1.5.0]
  i system-java15-dev   1.5.0-1 [virtual package representing Java  
1.5.0 development headers]
  i system-java16   1.6.0-1 [virtual package representing Java 1.6.0]
  i system-java16-dev   1.6.0-1 [virtual package representing Java  
1.6.0 development headers]
  i system-java3d   0-1 [virtual package representing Java3D]
  i system-javaai   0-1 [virtual package representing Java Advanced  
Imaging]



- Koen.

On Mar 26, 2010, at 3:33 PM, Hariharan B wrote:

> Hello Koen,
>
> As per your suggestion, I have added the depends field. Please check  
> and notify any changes needed.
>
> Thank you
>
>
> On Fri, Mar 26, 2010 at 11:38 PM, Koen van der Drift 
>  > wrote:
> 
>
> Unfortunately you cannot assume that java is installed. So you need to
> include a dependency on java. There are other packages that depend on
> java that you can use as an example.
>
> - Koen.
>
>
> On Fri, Mar 26, 2010 at 1:47 AM, Hariharan B   
> wrote:
> > Hi,
> >
> > The link to the info file is:
> >
> > http://sourceforge.net/tracker/?func=detail&aid=2961903&group_id=17203&atid=414256
> >
> >
> > Thanks
> >
> > On Fri, Mar 26, 2010 at 10:46 AM, Hariharan B  
>  wrote:
> >>
> >> Hi,
> >>
> >> I submitted my info file of ExTeX after making changes that was  
> suggested
> >> by nieder. Can anyone please review it?
> >>
> >> Thank you
> >> --
> >> Regards,
> >>
> >> Hariharan B
> >> International Institute of Information Technology, Bangalore
> >>
> >
> >
> >
> > --
> > Regards,
> >
> > Hariharan B
> > International Institute of Information Technology, Bangalore
> >
> >
> >  
> --
> > Download Intel® Parallel Studio Eval
> > Try the new software tools for yourself. Speed compiling, find bugs
> > proactively, and fine-tune applications for parallel performance.
> > See why Intel Parallel Studio got high marks during beta.
> > http://p.sf.net/sfu/intel-sw-dev
> > ___
> > Fink-devel mailing list
> > Fink-devel@lists.sourceforge.net
> > http://news.gmane.org/gmane.os.apple.fink.devel
> > Subscription management:
> > https://lists.sourceforge.net/lists/listinfo/fink-devel
> >
>
>
>
> -- 
> Regards,
>
> Hariharan B
> International Institute of Information Technology, Bangalore
>


--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] Request for Package review

2010-03-26 Thread Hariharan B
Hello Koen,

As per your suggestion, I have added the depends field. Please check and
notify any changes needed.

Thank you


On Fri, Mar 26, 2010 at 11:38 PM, Koen van der Drift <
koenvanderdr...@gmail.com> wrote:

> 
>
> Unfortunately you cannot assume that java is installed. So you need to
> include a dependency on java. There are other packages that depend on
> java that you can use as an example.
>
> - Koen.
>
>
> On Fri, Mar 26, 2010 at 1:47 AM, Hariharan B 
> wrote:
> > Hi,
> >
> > The link to the info file is:
> >
> >
> http://sourceforge.net/tracker/?func=detail&aid=2961903&group_id=17203&atid=414256
> >
> >
> > Thanks
> >
> > On Fri, Mar 26, 2010 at 10:46 AM, Hariharan B 
> wrote:
> >>
> >> Hi,
> >>
> >> I submitted my info file of ExTeX after making changes that was
> suggested
> >> by nieder. Can anyone please review it?
> >>
> >> Thank you
> >> --
> >> Regards,
> >>
> >> Hariharan B
> >> International Institute of Information Technology, Bangalore
> >>
> >
> >
> >
> > --
> > Regards,
> >
> > Hariharan B
> > International Institute of Information Technology, Bangalore
> >
> >
> >
> --
> > Download Intel® Parallel Studio Eval
> > Try the new software tools for yourself. Speed compiling, find bugs
> > proactively, and fine-tune applications for parallel performance.
> > See why Intel Parallel Studio got high marks during beta.
> > http://p.sf.net/sfu/intel-sw-dev
> > ___
> > Fink-devel mailing list
> > Fink-devel@lists.sourceforge.net
> > http://news.gmane.org/gmane.os.apple.fink.devel
> > Subscription management:
> > https://lists.sourceforge.net/lists/listinfo/fink-devel
> >
>



-- 
Regards,

Hariharan B
International Institute of Information Technology, Bangalore
--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Re: [Fink-devel] Request for Package review

2010-03-26 Thread Koen van der Drift


Unfortunately you cannot assume that java is installed. So you need to
include a dependency on java. There are other packages that depend on
java that you can use as an example.

- Koen.


On Fri, Mar 26, 2010 at 1:47 AM, Hariharan B  wrote:
> Hi,
>
> The link to the info file is:
>
> http://sourceforge.net/tracker/?func=detail&aid=2961903&group_id=17203&atid=414256
>
>
> Thanks
>
> On Fri, Mar 26, 2010 at 10:46 AM, Hariharan B  wrote:
>>
>> Hi,
>>
>> I submitted my info file of ExTeX after making changes that was suggested
>> by nieder. Can anyone please review it?
>>
>> Thank you
>> --
>> Regards,
>>
>> Hariharan B
>> International Institute of Information Technology, Bangalore
>>
>
>
>
> --
> Regards,
>
> Hariharan B
> International Institute of Information Technology, Bangalore
>
>
> --
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> ___
> Fink-devel mailing list
> Fink-devel@lists.sourceforge.net
> http://news.gmane.org/gmane.os.apple.fink.devel
> Subscription management:
> https://lists.sourceforge.net/lists/listinfo/fink-devel
>

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] Request for Package review

2010-03-25 Thread Hariharan B
Hi,

The link to the info file is:

http://sourceforge.net/tracker/?func=detail&aid=2961903&group_id=17203&atid=414256


Thanks

On Fri, Mar 26, 2010 at 10:46 AM, Hariharan B  wrote:

>  Hi,
>
> I submitted my info file of ExTeX after making changes that was suggested
> by nieder. Can anyone please review it?
>
> Thank you
> --
> Regards,
>
> Hariharan B
> International Institute of Information Technology, Bangalore
>
>


-- 
Regards,

Hariharan B
International Institute of Information Technology, Bangalore
--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

[Fink-devel] Request for Package review

2010-03-25 Thread Hariharan B
 Hi,

I submitted my info file of ExTeX after making changes that was suggested by
nieder. Can anyone please review it?

Thank you
-- 
Regards,

Hariharan B
International Institute of Information Technology, Bangalore
--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel