[jitsi-dev] Re: [jitsi-issues] Jitsi startup script on Arch Linux


#1

I couldn't paste all of it as my X terminal emulator's history won't
scroll back that far. Can anyone suggest a solution?

Could you please run the script by redirecting its standard output to
a file and its standard error to its standard output (e.g. run.sh

···

On Thu, Apr 28, 2011 at 11:43 PM, Ananda Samaddar <ananda@samaddar.co.uk> wrote:

run.log 2>&1) so that the whole output is available?


#2

When "ant run" is executed, it copies
sc-bundles/os-specific/linux/*.jar to sc-bundles. Then
felix.client.run.properties expects to find the jars in question in
sc-bundles, not in sc-bundles/os-specific/linux. The attached log
suggests that you don't have these jars in sc-bundles. For the
purposes of deployment of Jitsi, you should probably take a look at
resources\install\debian\rules.tmpl. For example, there's the
following line:

cp \(BASEDIR\)/sc\-bundles/os\-specific/linux/\*\.jar debian/(PACKAGE_NAME)/usr/lib/$(PACKAGE_NAME)/sc-bundles

···

On Fri, Apr 29, 2011 at 12:19 AM, Ananda Samaddar <ananda@samaddar.co.uk> wrote:

Yes please find a log file attached.


#3

All the files have been installed to the correct directories, my
PKGBUILD for Arch Linux is a modified version of this one:

http://aur.archlinux.org/packages/sip-communicator-nightly/PKGBUILD

Everything seems to be in the correct place. There are jar files in
sc-bundles in /usr/lib/sip-communicator and the other stuff is in lib
under the same directory.

thanks,

Ananda Samaddar

···

On Fri, 29 Apr 2011 00:36:26 +0300 Lyubomir Marinov <lubo@jitsi.org> wrote:

On Fri, Apr 29, 2011 at 12:19 AM, Ananda Samaddar > <ananda@samaddar.co.uk> wrote:
> Yes please find a log file attached.

When "ant run" is executed, it copies
sc-bundles/os-specific/linux/*.jar to sc-bundles. Then
felix.client.run.properties expects to find the jars in question in
sc-bundles, not in sc-bundles/os-specific/linux. The attached log
suggests that you don't have these jars in sc-bundles. For the
purposes of deployment of Jitsi, you should probably take a look at
resources\install\debian\rules.tmpl. For example, there's the
following line:

cp $(BASEDIR)/sc-bundles/os-specific/linux/*.jar
debian/$(PACKAGE_NAME)/usr/lib/$(PACKAGE_NAME)/sc-bundles


#4

Still no word on this? This is the only thing preventing me switching
to Jitsi, other than that it fulfils nearly 100% of my IM/VOIP/Video
needs.

I've pastebin'd the ls -R output of the install
directory, /usr/lib/sip-communicator here in case anything looks out of
place:

http://pastebin.com/tZ9GQXBS

Could the problem I'm having be relating to using OpenJDK? I'd rather
not use the proprietary Sun/Oracle JRE.

I'd also like to submit a feature request for authentication via the
Socialist Millionaires protocol in OTR:

http://www.cypherpunks.ca/otr/help/authenticate.php

I've found the bug reports: JITSI-903 and JITSI-843 so I don't know if
this request would be a duplicate.

thanks,

Ananda

···

On Fri, 29 Apr 2011 00:36:26 +0300 Lyubomir Marinov <lubo@jitsi.org> wrote:

On Fri, Apr 29, 2011 at 12:19 AM, Ananda Samaddar > <ananda@samaddar.co.uk> wrote:
> Yes please find a log file attached.

When "ant run" is executed, it copies
sc-bundles/os-specific/linux/*.jar to sc-bundles. Then
felix.client.run.properties expects to find the jars in question in
sc-bundles, not in sc-bundles/os-specific/linux. The attached log
suggests that you don't have these jars in sc-bundles. For the
purposes of deployment of Jitsi, you should probably take a look at
resources\install\debian\rules.tmpl. For example, there's the
following line:

cp $(BASEDIR)/sc-bundles/os-specific/linux/*.jar
debian/$(PACKAGE_NAME)/usr/lib/$(PACKAGE_NAME)/sc-bundles


#5

As I told you before, the problem is that jnalib.jar and neomedia.jar
are in /usr/lib/sip-communicator/sc-bundles/linux and not in
/usr/lib/sip-communicator/sc-bundles. That was what the log said last
time when I answered to you, that's why you didn't get any further
answers and that's what your paste reasserts. You have to move all
*.jar files from /usr/lib/sip-communicator/sc-bundles/linux to
/usr/lib/sip-communicator/sc-bundles. The directory
/usr/lib/sip-communicator/sc-bundles/linux is not being searched by
Jitsi. It could be a problem with "cp -r" because it behaves
differently on cygwin and Mac OS X when the two arguments are existing
directories ending with slash characters, you should just change it to
copy *.jar and not the directory.

···

On Sun, May 1, 2011 at 7:01 PM, Ananda Samaddar <ananda@samaddar.co.uk> wrote:

http://pastebin.com/tZ9GQXBS


#6

I'd also like to submit a feature request for authentication via the
Socialist Millionaires protocol in OTR:

http://www.cypherpunks.ca/otr/help/authenticate.php

Well, I don't personally see why we'd not allow you to make this
feature request but you have to be aware that unless you/anyone really
contribute the implementation, we're unlikely to implement it in the
non-distant future.

I've found the bug reports: JITSI-903 and JITSI-843 so I don't know if
this request would be a duplicate.

These two don't sound to me to have anything to do with Socialist
Millionaires so I don't expect them to be duplicates to any possible
feature request.

···

On Sun, May 1, 2011 at 7:01 PM, Ananda Samaddar <ananda@samaddar.co.uk> wrote:


#7

Sorry, I really should read more carefully! I'll do that and report
back.

Ananda

···

On Sun, 1 May 2011 19:09:03 +0300 Lyubomir Marinov <lubo@jitsi.org> wrote:

On Sun, May 1, 2011 at 7:01 PM, Ananda Samaddar > <ananda@samaddar.co.uk> wrote:
> http://pastebin.com/tZ9GQXBS

As I told you before, the problem is that jnalib.jar and neomedia.jar
are in /usr/lib/sip-communicator/sc-bundles/linux and not in
/usr/lib/sip-communicator/sc-bundles. That was what the log said last
time when I answered to you, that's why you didn't get any further
answers and that's what your paste reasserts. You have to move all
*.jar files from /usr/lib/sip-communicator/sc-bundles/linux to
/usr/lib/sip-communicator/sc-bundles. The directory
/usr/lib/sip-communicator/sc-bundles/linux is not being searched by
Jitsi. It could be a problem with "cp -r" because it behaves
differently on cygwin and Mac OS X when the two arguments are existing
directories ending with slash characters, you should just change it to
copy *.jar and not the directory.


#8

Right that fixed it, I'm going to fix the Arch Linux PKGBUILD and get
the AUR admins to orphan it so I can adopt it.

Thanks for the help,

Ananda

···

On Sun, 1 May 2011 19:09:03 +0300 Lyubomir Marinov <lubo@jitsi.org> wrote:

On Sun, May 1, 2011 at 7:01 PM, Ananda Samaddar > <ananda@samaddar.co.uk> wrote:
> http://pastebin.com/tZ9GQXBS

As I told you before, the problem is that jnalib.jar and neomedia.jar
are in /usr/lib/sip-communicator/sc-bundles/linux and not in
/usr/lib/sip-communicator/sc-bundles. That was what the log said last
time when I answered to you, that's why you didn't get any further
answers and that's what your paste reasserts. You have to move all
*.jar files from /usr/lib/sip-communicator/sc-bundles/linux to
/usr/lib/sip-communicator/sc-bundles. The directory
/usr/lib/sip-communicator/sc-bundles/linux is not being searched by
Jitsi. It could be a problem with "cp -r" because it behaves
differently on cygwin and Mac OS X when the two arguments are existing
directories ending with slash characters, you should just change it to
copy *.jar and not the directory.


#9

It's not a massive deal for me, Jitsi already has working ZTRP for
VOIP/Video over jingle out of the box which is very important to me.
I'll go ahead and request the feature at some point any way.

Ananda

···

On Sun, 1 May 2011 19:22:50 +0300 Lyubomir Marinov <lubo@jitsi.org> wrote:

On Sun, May 1, 2011 at 7:01 PM, Ananda Samaddar > <ananda@samaddar.co.uk> wrote:
> I'd also like to submit a feature request for authentication via the
> Socialist Millionaires protocol in OTR:
>
> http://www.cypherpunks.ca/otr/help/authenticate.php

Well, I don't personally see why we'd not allow you to make this
feature request but you have to be aware that unless you/anyone really
contribute the implementation, we're unlikely to implement it in the
non-distant future.

> I've found the bug reports: JITSI-903 and JITSI-843 so I don't know
> if this request would be a duplicate.

These two don't sound to me to have anything to do with Socialist
Millionaires so I don't expect them to be duplicates to any possible
feature request.