PDA

View Full Version : running showeq on ubuntu 8.10



uRit1u2CBBA=
01-25-2009, 12:01 AM
I'm trying to get things working with 8.10 on the vm, so when I get my new hardware and re-install everything, I can get it working there too.

I'm unable to run showeq as root, but I can as my normal user.

I found my old post similar to this when I built the gentoo box in the first place, but at that time it was xhost refusing root connections, and I had to change the permissions to allow it. I tries the same fixes here, and it doesn't help.

Do I have to be root like I did in my old gentoo install for libpcap to work? Or is it fine using my normal login?

I'll try this again either way once I get the real hardware. If I can't get it going with that, I may have to go back to gentoo.

Thanks

Razzle
01-25-2009, 09:15 AM
I had some problems with ubuntu 8.10 too. So I went and got an 8.04 vm and got it up and running without any problems.

Razzle

tanner
01-25-2009, 02:41 PM
You will need to be root to put the Ethernet interface into promisc mode.

Did you try

su - root -c '/path/to/showeq'

uRit1u2CBBA=
01-25-2009, 05:58 PM
I had some problems with ubuntu 8.10 too. So I went and got an 8.04 vm and got it up and running without any problems.

Razzle


Ugh - I install 8.04, load all of the extras that I needed to get "./configure" to be error free, and "make" fails on the first line saying it cann't find qlist.h

Is that supposed to be part of qt install? Any idea what happened?

Razzle
01-25-2009, 06:45 PM
Ugh - I install 8.04, load all of the extras that I needed to get "./configure" to be error free, and "make" fails on the first line saying it cann't find qlist.h

Is that supposed to be part of qt install? Any idea what happened?
From what I found, qlist.h is supposed to exist in the package libqt3-compat-headers

But if I remove that package, I cannot get the ./configure to be error free. So I am not totally sure.

Razzle

uRit1u2CBBA=
01-25-2009, 07:04 PM
From what I found, qlist.h is supposed to exist in the package libqt3-compat-headers

But if I remove that package, I cannot get the ./configure to be error free. So I am not totally sure.

Razzle


I did the following when I built this on 8.10, and it compiled (but was unable to get it to run). I do the same steps on 8.4, and I can't get it to compile yet.

apt-get install build-essential
apt-get install libqt-mt-dev
apt-get install libpcap-dev
apt-get install tofrodos // Not for SEQ, but for other scripts that I need "dos2unix" for.

I'll try the other package you mentioned to see if it works for 8.04.

It's compiling now. When it's done, I'll try getting it to run.

EDIT:

Still not running. I get "cannot connect to X server" when I try to run it as root.

tanner
01-26-2009, 12:43 PM
Ugh - I install 8.04, load all of the extras that I needed to get "./configure" to be error free, and "make" fails on the first line saying it cann't find qlist.h

Is that supposed to be part of qt install? Any idea what happened?

Drop



deb http://ppa.launchpad.net/showeq-team/ubuntu hardy main
deb-src http://ppa.launchpad.net/showeq-team/ubuntu hardy main


Into /etc/apt/sources.list.d/showeq.list



$ sudo apt-get update
$ apt-get source showeq
$ sudo apt-get build-dep showeq
$ cd showeq-5.13.0.0/
$ debuild


You may have to puts with gpg and keys, but that will get you a build.

I've added this as an answer on launchpad, HOWTO build showeq as a ubuntu package (https://answers.launchpad.net/showeq/+question/58958)

uRit1u2CBBA=
01-26-2009, 08:07 PM
getting closer.

Now I'm getting when I run "debuild":


cannot find readable devian/changelog anywhere!
Are you in the source code tree?

Thanks

uRit1u2CBBA=
01-26-2009, 11:23 PM
well - I managed to get what I had compiled working.

I had to use my normal log in and "sudo showeq". Which messes up most of my scripts that I have wrapped around it. I have to change permissions and directories around for lots of stuff to get it working since I was doing it as root directly before.

But I think I can get this working.

I get my new hardware delivered tomorrow, so after class I can put together and install my new linux box :)

Thanks for the help.

tanner
01-27-2009, 06:10 PM
getting closer.

Now I'm getting when I run "debuild":


cannot find readable devian/changelog anywhere!
Are you in the source code tree?Thanks


It really says "devian/changelog" or that a typo?

Give me a pwd before you issue the debuild.

uRit1u2CBBA=
01-27-2009, 06:39 PM
I thinik I typoed that.

uRit1u2CBBA=
01-27-2009, 09:36 PM
ok - I have things compiling on new hardware and new ubuntu 8.04 install now.

I got to the point where I run "debuild" and it starts compiling. When it's done, instead of getting installed, I get the following:


Now signing changes and any dsc files...
signfile showeq_5.13.0.0-0ubuntu1.dsc Robert J. Tanner <e-mail not pasted>
gpg: skipped "Robert J. Tanner <e-mail not pasted>": secret key not available
gpg: [stdin]: clearsign failed: secret key not available
debsign: gpg error occurred! Aborting....
debuild: fatal error at line 1174:
running debsign failed

I can run "make install" from that point and it does get placed in a bin directory where I can run it from. I just would like to see if I can't get it installed like it was intended, without the error.

Any ideas now?

Thanks

Also, on updates, will this now be taken care of with the updater built into ubuntu? Or will I have to run commands again to re-download source and re-compile?

Thanks again.

tanner
01-28-2009, 02:16 AM
Also, on updates, will this now be taken care of with the updater built into ubuntu? Or will I have to run commands again to re-download source and re-compile?

Thanks again.

Oh! If you do not want to build it I have .deb (binary packages) up in i386 and amd64.

Drop



deb http://ppa.launchpad.net/showeq-team/ubuntu hardy main
deb-src http://ppa.launchpad.net/showeq-team/ubuntu hardy main
Into /etc/apt/sources.list.d/showeq.list



$ sudo apt-get update
$ sudo apt-get install showeq


I've added this as an answer on launchpad, HOWTO install binary showeq package (https://answers.launchpad.net/showeq/+question/58960)

tanner
01-28-2009, 02:30 AM
ok - I have things compiling on new hardware and new ubuntu 8.04 install now.

I got to the point where I run "debuild" and it starts compiling. When it's done, instead of getting installed, I get the following:


Now signing changes and any dsc files...
signfile showeq_5.13.0.0-0ubuntu1.dsc Robert J. Tanner <e-mail not pasted>
gpg: skipped "Robert J. Tanner <e-mail not pasted>": secret key not available
gpg: [stdin]: clearsign failed: secret key not available
debsign: gpg error occurred! Aborting....
debuild: fatal error at line 1174:
running debsign failedI can run "make install" from that point and it does get placed in a bin directory where I can run it from. I just would like to see if I can't get it installed like it was intended, without the error.

Any ideas now?


This was my comment about "muck'n around with gpg", try building like this?



% sudo apt-get install fakeroot
% dpkg-buildpackage -sa -rfakeroot -us -uc
% cd ..
% ls -l *.deb


I added this as an answer on launchpad, HOWTO build showeq without gnugp signing (https://answers.launchpad.net/showeq/+question/58959)

tanner
01-28-2009, 05:54 PM
I've gotten a couple PM's requesting how can the showeq package be verified. All the packages in the PPA are now digitally signed.

Taking the info from launchpad and posting it here:



Every PPA now has its own unique key, which Launchpad uses to
sign the packages it builds in the archive.

People downloading a package from your PPA can now verify that it
hasn't been altered since Launchpad built it.

You can find out how to add the PPA key to your Ubuntu system
here:

https://help.launchpad.net/PPAKeys