#jogamp @ irc.freenode.net - 20130726 05:06:04 (UTC)


20130726 05:06:04 -jogamp- Previous @ http://jogamp.org/log/irc/jogamp_20130725050604.html
20130726 05:06:04 -jogamp- This channel is logged @ http://jogamp.org/log/irc/jogamp_20130726050604.html
20130726 10:46:42 * [Mike] (~Mike]@anon) has joined #jogamp
20130726 10:47:36 * [Mike] (~Mike]@anon) Quit (Client Quit)
20130726 12:28:22 * petrs (~petrs@anon) has joined #jogamp
20130726 13:02:22 * odin_ (~Odin@anon) Quit (Read error: Connection reset by peer)
20130726 14:46:44 * odin_ (~Odin@anon) has joined #jogamp
20130726 17:40:12 * sabayonuser (~sabayonus@anon) has joined #jogamp
20130726 17:40:35 * sabayonuser is now known as deadconfused
20130726 17:40:54 <deadconfused> http://pastie.org/8178492
20130726 17:41:16 <deadconfused> does that look like unfullfilled dependencies for jogamp?
20130726 17:43:20 <deadconfused> and how would one easily install jogamp on a sabayon system?
20130726 17:46:12 <deadconfused> I have the jogamp-allplatforms downlad extracted but it's kinda scattered without a single definate documented course of action
20130726 17:46:32 <deadconfused> I would really just like to somehow get this into my path so I can prove this is what I need.
20130726 17:49:19 <rmk0> 'lo
20130726 17:49:46 <rmk0> deadconfused: the two people in here that would likely be able to help you are currently at SIGGRAPH, but i can maybe assist
20130726 17:49:54 <rmk0> firstly... what's a sabayon?
20130726 17:50:32 <deadconfused> sabayon is a gentoo based linux distro
20130726 17:50:41 <rmk0> right
20130726 17:50:54 <deadconfused> I am running oracle java 7
20130726 17:51:43 <rmk0> you should only need "gluegen-rt.jar" and "jogl-all.jar" on your classpath
20130726 17:51:56 <deadconfused> classpath
20130726 17:52:12 <deadconfused> can I get that out of my environment variables?
20130726 17:52:29 <rmk0> hm... er... this thing you're compiling
20130726 17:52:35 <deadconfused> I am not compiling
20130726 17:52:35 <rmk0> is this some software you're currently developing?
20130726 17:52:38 <deadconfused> no
20130726 17:52:45 <rmk0> oh, just running?
20130726 17:52:49 <deadconfused> this is a surfboard manufacturing cad program
20130726 17:52:53 <deadconfused> yes
20130726 17:52:58 <deadconfused> I am setting it up for a client
20130726 17:53:02 <rmk0> right
20130726 17:53:17 <deadconfused> akushaper
20130726 17:53:33 <deadconfused> I will hopefully talking to a representitive later today
20130726 17:53:47 <rmk0> it's slightly difficult to know what's going on without knowing more about the program, but generally something will configure the classpath for any given java program
20130726 17:53:49 <deadconfused> but meanwhile I am trying to solve it on my own
20130726 17:54:05 <rmk0> either by setting CLASSPATH in the environment, or passing it on the command line with the "-classpath" parameter
20130726 17:54:09 <deadconfused> oh ok
20130726 17:54:18 <rmk0> would see if you can work out if/where that's being set
20130726 17:54:21 <deadconfused> so if a program coems with it's own lib folder
20130726 17:54:27 <deadconfused> I may be able to drop those there?
20130726 17:54:31 <rmk0> most likely
20130726 17:54:42 <deadconfused> that folder contains .so's
20130726 17:54:42 <rmk0> a lot of programs basically do "-classpath lib/*"
20130726 17:54:52 <deadconfused> rather than .jar's
20130726 17:54:56 <deadconfused> so I was uncertain
20130726 17:55:12 <deadconfused> ok lemme move some stuff around
20130726 17:55:15 <rmk0> are there any separate jar files associated with the program at all?
20130726 17:55:33 <rmk0> some java developers like to pack all of their own dependencies into a single jar file for the program
20130726 17:55:37 <rmk0> isn't exactly a good practice
20130726 17:55:46 <deadconfused> the main is a jar
20130726 17:55:46 <deadconfused> AkuShaper.jar
20130726 17:55:59 <rmk0> hm, right
20130726 17:56:08 <deadconfused> when you run akushaper.jar it creates a folder in your home dir called Akushaper
20130726 17:56:25 <deadconfused> and there is keeps a lockfile and builds a set of .so libs
20130726 17:56:38 <deadconfused> also registration keys are there
20130726 17:56:49 <rmk0> hm
20130726 17:57:00 <rmk0> the .so files... would they be jogl's .so files?
20130726 17:57:34 <rmk0> you might see files like "libjogl_desktop.so"
20130726 17:57:40 <deadconfused> one is called libjogl_desktop.so
20130726 17:57:44 <deadconfused> yes
20130726 17:57:44 <rmk0> ugh, right
20130726 17:57:55 <rmk0> yeah... is considered bad practice to do what they're doing
20130726 17:58:12 <rmk0> essentially manually unpacking the native jar files into a directory
20130726 17:58:46 <rmk0> i'm wondering if that means they've actually packed JOGL's java code into the akushaper.jar
20130726 17:59:06 <deadconfused> I am kinda concerned about this developer anyhow
20130726 17:59:11 <rmk0> hehe
20130726 17:59:18 <deadconfused> this is a fork of an OSS software
20130726 17:59:26 <deadconfused> he has made propritary
20130726 17:59:33 <rmk0> shame
20130726 17:59:35 <deadconfused> it used to be boardcad
20130726 17:59:52 <deadconfused> yeah that's how I feel too
20130726 18:00:51 <deadconfused> so someone from jogl should look into this and perhaps defend thier liscense
20130726 18:01:12 <rmk0> well the license of JOGL does permit that, is BSD style
20130726 18:01:33 <rmk0> it's just not recommended to do what he's apparently doing... can lead to hard-to-fix problems like the one you're having
20130726 18:01:37 <deadconfused> ah cool
20130726 18:01:52 <deadconfused> the boardcad I believe was GPL
20130726 18:02:06 <rmk0> ah right
20130726 18:02:36 <rmk0> yeah, sounds like he's betting nobody will take legal action
20130726 18:03:22 <deadconfused> well I am discussing it with my client and it could be that he is the original developer of boardcad as well
20130726 18:03:42 <deadconfused> which would be that changing the lisence on a further development would take on a whole new meaning
20130726 18:04:17 <deadconfused> but I'm not a lawyer I just want to get this program running. if nothing else I will be talking to the developer later today hopefully
20130726 18:04:26 <rmk0> right
20130726 18:04:42 <rmk0> out of curiosity... what does "unzip -l akushaper.jar | grep jogamp" say?
20130726 18:04:58 <deadconfused> one sec
20130726 18:05:39 <deadconfused> no output
20130726 18:05:46 <rmk0> strange
20130726 18:06:10 <rmk0> vaguely wondering where the actual JOGL java classes are
20130726 18:06:37 <rmk0> if they're not in akushaper.jar, and aren't being downloaded or unpacked to some directory on startup...
20130726 18:06:54 <deadconfused> there is a lib directory
20130726 18:07:04 <deadconfused> with only .so's
20130726 18:07:13 <rmk0> yeah, there'd need to be some .jar files too
20130726 18:07:31 <rmk0> .jar files contain java bytecode as ".class" files
20130726 18:07:48 <rmk0> so he'd either need to pack those into akushaper.jar, or reference some external jar files somewhere
20130726 18:08:10 <deadconfused> I don't see any new hidden directories
20130726 18:08:14 * rmk0 downloads AkuShaper.jar
20130726 18:08:41 <deadconfused> there are several versions
20130726 18:09:02 <deadconfused> my client has a paid copy so he ge's the latest version
20130726 18:09:32 <rmk0> i grabbed 2.2.3 off the site
20130726 18:09:45 <rmk0> presumably paid customers get something newer?
20130726 18:09:54 <deadconfused> lemme look
20130726 18:10:12 <rmk0> in any case... i've just spotted the jogl and gluegen jar files inside AkuShaper.jar
20130726 18:11:32 <rmk0> ok, 2.2.3 comes with version 2.0-b66-20121101
20130726 18:14:04 <rmk0> and it looks like he's using http://one-jar.sourceforge.net
20130726 18:14:13 <deadconfused> you seem to have the latest
20130726 18:15:12 <rmk0> ah, there we go, i get the same error you do
20130726 18:15:29 <deadconfused> lol
20130726 18:16:20 <deadconfused> it makes me wonder if this is happening because of java being such a moving target at the moment
20130726 18:16:28 <rmk0> it probably doesn't help
20130726 18:16:43 <rmk0> i've got to rush off for a couple of hours, unfortunately
20130726 18:16:48 <rmk0> will be back
20130726 18:16:48 <deadconfused> o7
20130726 18:16:56 <deadconfused> thanks for your time!
20130726 18:38:30 * kermyt (~kermyt@anon) has joined #jogamp
20130726 20:12:54 * void256 (~chatzilla@anon) has joined #jogamp
20130726 21:12:57 * andrej (andrej@anon) has joined #jogamp
20130726 21:13:20 * andrej is now known as Guest6063
20130726 21:17:15 * void256 (~chatzilla@anon) Quit (Remote host closed the connection)
20130726 21:50:21 <rmk0> hm, been prodding akushaper a bit
20130726 21:50:47 <rmk0> i unpacked the AkuShaper.jar
20130726 21:50:59 <rmk0> basically trying to undo their use of OneJar
20130726 21:51:39 <rmk0> ended up trying to run the program with: http://waste.io7m.com/2013/07/26/run.sh
20130726 21:51:56 <rmk0> but that gives an entirely different error, unrelated to jogl
20130726 21:52:18 <rmk0> in the error message there's a reference to "saltybits", which i then did a quick search for
20130726 21:52:44 <rmk0> that leads me to the github repositories of ryan mohr, who posted on the jogamp forums in december 2012 about trying to get a program running with jogl and onejar
20130726 21:52:58 <rmk0> and... just happens to be the author of akushaper
20130726 21:53:05 <rmk0> so... i'm guessing there are some hacks at work here
20130726 21:59:12 <rmk0> no idea why people feel the need to do this stuff
20130726 21:59:28 <rmk0> seems like a lot of work for no benefit, and just creates further problems when it inevitably goes wrong
20130726 23:08:24 <kermyt> well I had an error I had to sort before I got to this error
20130726 23:08:43 <kermyt> that was having my LD_LIBRARY_CONFIG path set correctly
20130726 23:09:13 <kermyt> that fixed my first error in regarts to liawt or somthing like that
20130726 23:09:19 <kermyt> libawt*
20130726 23:09:29 <kermyt> libjawt maybe
20130726 23:09:53 <kermyt> I have sent the issue on to the developer now
20130726 23:10:17 <kermyt> they have not properly responded yet
20130726 23:12:17 <kermyt> ahh but I see you are doing somthing beyond that even
20130726 23:12:25 <kermyt> I'm not a java guy at all
20130726 23:13:16 <rmk0> think it is going to be up to the original developer to fix this
20130726 23:13:31 <rmk0> it seems like they're using a modified JOGL
20130726 23:14:45 <rmk0> http://forum.jogamp.org/ZipException-when-loading-native-jars-td4027387.html
20130726 23:15:05 <rmk0> that's the original thread... ryanmohr states that he made a "two line change" near the end of the thread
20130726 23:15:41 <rmk0> assume he's talking about akushaper, as the jogl version in the akushaper jar file has a very similar date to that thread
20130726 23:16:38 <kermyt> hmm
20130726 23:16:40 <kermyt> interesting
20130727 03:17:43 * deadconfused (~sabayonus@anon) Quit (Ping timeout: 260 seconds)
20130727 03:18:04 * kermyt (~kermyt@anon) Quit (Ping timeout: 256 seconds)
20130727 03:19:55 * kermyt (~kermyt@anon) has joined #jogamp
20130727 03:21:16 * deadconfused (~sabayonus@anon) has joined #jogamp
20130727 05:06:04 -jogamp- Continue @ http://jogamp.org/log/irc/jogamp_20130727050604.html