[mythtv-users] Installing projectX from source?

Mike Daugird MDaugird at erdman.com
Wed Oct 26 11:56:45 EDT 2005


I feel kind of stupid now, it seems the way to run it on gentoo is the following:
#chmod 777 build.sh
#./build.sh
#cp ProjectX.jar /usr/bin/
#/opt/blackdown-jdk-1.4.2.02/bin/java -jar /usr/bin/ProjectX.jar 

now it works for me.



**************************************************
I get the same error
if I run the build.sh but if I try the ebuild that is basically an update of the .82 version(the last one in portage) I get a different error but it still doesn't work.
********************************************
Message: 15
Date: Wed, 26 Oct 2005 23:04:05 +1300 (NZDT)
From: "Robin Gilks" <g8ecj at gilks.org>
Subject: Re: [mythtv-users] Installing projectX from source?
To: "Discussion about mythtv" <mythtv-users at mythtv.org>
Message-ID: <48143.192.168.1.15.1130321045.squirrel at gilks.ath.cx>
Content-Type: text/plain;charset=iso-8859-1


>
>> On 10/25/05, Steve Adeff <adeffs at gmail.com> wrote:
>>> On Tuesday 25 October 2005 20:36, Robin Gilks wrote:
>>> > Greetings
>>> >
>>> > I'm having a go at mythburn but having problems installing projectx
>>> as
>>> I
>>> > use Gentoo so have no nicely packaged system.
>>> >
>>> > Looks like projectx was removed from portage about 3 months ago so I
>>> > wonder is anyone has an ebuild for the latest or a wrapper that will
>>> get
>>> > rid of the 'can't find common-net library' errors.
>>> >
>>> > Cheers
>>>
>>> projectX is java so download the java sdk and run the command they tell
>>> you to
>>> run and it will compile.
>>>
>>> Steve
>> Java is platform independant - it doesn't need to be compiled.
>> Just install the Java runtime: http://www.gentoo.org/doc/en/java.xml
>> then download the projectx.jar file and run java -jar projectx.jar
>>
>> Dave
>
> But projectx doesn't come as a jar file - it comes as a bunch of .java
> files that are compiled by the sdk into a jar file - that step works fine.
> What I can't get right is where do I put the library files it depends on
> that are created during the 'compile' step. Does java have a seperate
> search path that it uses to hunt out missing bits?
>
> Sounds to me like everyone who has suceeded with this is running an rpm
> distro :-((
>

Getting there... now I get the error:
Exception in thread "main" java.lang.NoClassDefFoundError:
net/sourceforge/dvb/projectx/common/X

Googling shows lots of people with the same error but so far I've not
found a solution. Again it comes down to the installation I think in that
the files are found when the jar is compiled but then NOT found at run
time ;-((

Note that this error occurs with just a simple {equivalant of} "projectx
--help"!!

-- 
Robin Gilks


More information about the mythtv-users mailing list