Linux Ubuntu Debian Package
Linux Ubuntu Debian Package
Having found out that I have to go through the same process that I did initallly, to update my eePe. I am having nightmares of all the hassle that created, especially in changing permissions for files.
Is there any move to create a Debian package to make it easy to install for users like myself, or am I one of not a lot who actually use Linux or Ubuntu?
Do I have to go through the whole process again, or is there an easy way to just replace the core program?
Flaps
Is there any move to create a Debian package to make it easy to install for users like myself, or am I one of not a lot who actually use Linux or Ubuntu?
Do I have to go through the whole process again, or is there an easy way to just replace the core program?
Flaps
Re: Linux Ubuntu Debian Package
You have your nightmares and I have mine.... I wanted to make an Ubuntu package but building and maintaining it is a huge headache!
I hoped that the guys with Qt have made some headway but no.
Making a package requires to make a tarball, definition files and more definision files.
Too much work!
If you've already built it on your system then all you have to do is ru 2 lines in the terminal:
1) go to the location where you downloaded your code (probably ~/eepe-read-only/src)
2) type "svn update" <ENTER>
3) type "qmake && make" <ENTER>
Let it run and that's it!
Z
BEWARE - WE ARE IN THE AIR!!!
What goes up... Should be controlled by a 9X!
BEWARE - WE ARE IN THE AIR!!!
What goes up... Should be controlled by a 9X!
Re: Linux Ubuntu Debian Package
Mine are bigger than yours!erazz wrote: You have your nightmares and I have mine....
Thanks for the instructions. It seemed to go well. It went through a series of things and then told me that it had updated to revision 294. The 'make' bit took a long time to complete throwing up lines like this "-I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -o modeledit.o modeledit.cpp"
The end result of the whole thing when it had returned the terminal back to me was no change to eePe.
Any ideas on what else I can do, before I revert to the windoze method of removing eePe and going through the whole process again.
Sorry to be a pain. Software isn't my strong point at my time of life.
Re: Linux Ubuntu Debian Package
OK,
Run these commands:
qmake <enter>
make | tee makelog.txt
This will create a file called make.log.
Upload it here and I'll have a llok at it.
And yes, make does take about 5 minutes to complete. That's normal and so are the warnings.
Run these commands:
qmake <enter>
make | tee makelog.txt
This will create a file called make.log.
Upload it here and I'll have a llok at it.
And yes, make does take about 5 minutes to complete. That's normal and so are the warnings.
Z
BEWARE - WE ARE IN THE AIR!!!
What goes up... Should be controlled by a 9X!
BEWARE - WE ARE IN THE AIR!!!
What goes up... Should be controlled by a 9X!
Re: Linux Ubuntu Debian Package
Okay... So in theory it should have all gone through without any problems. If only life was that simple,
I put in what you asked me to do. I think I may have got something wrong.
This is what I did:
trish@trish-desktop:~$ cd ~/eepe-read-only/src
trish@trish-desktop:~/eepe-read-only/src$ qmake
trish@trish-desktop:~/eepe-read-only/src$ make | tee makelog.txt
make: Nothing to be done for `first'.
trish@trish-desktop:~/eepe-read-only/src$
Edit! - Oops! .. Having read what was in front of my eyes above. I realised that I had copied the original eePe program to my desktop. The real file was/is in the eepe folder and that is all correct and updated as it should be.... Sorry about that.
I put in what you asked me to do. I think I may have got something wrong.
This is what I did:
trish@trish-desktop:~$ cd ~/eepe-read-only/src
trish@trish-desktop:~/eepe-read-only/src$ qmake
trish@trish-desktop:~/eepe-read-only/src$ make | tee makelog.txt
make: Nothing to be done for `first'.
trish@trish-desktop:~/eepe-read-only/src$
Edit! - Oops! .. Having read what was in front of my eyes above. I realised that I had copied the original eePe program to my desktop. The real file was/is in the eepe folder and that is all correct and updated as it should be.... Sorry about that.
Re: Linux Ubuntu Debian Package
I thought that might be the case but I wanted to make sure it compiled properly.
I had another look at packaging. I might be able to produce a .deb file. If I can do this automatically then I'll add it to the build sequence. No promises
Z
BEWARE - WE ARE IN THE AIR!!!
What goes up... Should be controlled by a 9X!
BEWARE - WE ARE IN THE AIR!!!
What goes up... Should be controlled by a 9X!
Re: Linux Ubuntu Debian Package
Well.. It certainly would help me in the future Erazz. But I do wonder how many people out there actually use Linux and in particular Ubuntu to make it worthwhile.
Re: Linux Ubuntu Debian Package
You'd be surprised. A fair few. I guss those that like to experiment with their radio also like to experiment with their OS.
Tell you what, I'll give it a shot today. If I don't report back then please pester me! By emails, pm's and force if necessary. I have anotoriously short attention span. If you pester me I will do it (ask this guy )
Tell you what, I'll give it a shot today. If I don't report back then please pester me! By emails, pm's and force if necessary. I have anotoriously short attention span. If you pester me I will do it (ask this guy )
Z
BEWARE - WE ARE IN THE AIR!!!
What goes up... Should be controlled by a 9X!
BEWARE - WE ARE IN THE AIR!!!
What goes up... Should be controlled by a 9X!
Re: Linux Ubuntu Debian Package
I use ubuntu linux and would test and use a .deb if available. I'm still in research phase so don't have any idea of the dependencies, whether different versions would be needed for different versions of ubuntu. Do imagine a 32 bit and 64 bit would be required.
Re: Linux Ubuntu Debian Package
I think I got it!
on the eePe code page you can find the .deb packages for 32 bit and 64 bit.
These should work for Ubuntu, Debian and any other Distro that can read .deb packages.
The package should install a shortcut and a menu entry. It should also install the language files.
You still need to make sure you got the following libraries installed:
libqt4gui, libqt4network, libqt4core and avrdude.
on the eePe code page you can find the .deb packages for 32 bit and 64 bit.
These should work for Ubuntu, Debian and any other Distro that can read .deb packages.
The package should install a shortcut and a menu entry. It should also install the language files.
You still need to make sure you got the following libraries installed:
libqt4gui, libqt4network, libqt4core and avrdude.
Z
BEWARE - WE ARE IN THE AIR!!!
What goes up... Should be controlled by a 9X!
BEWARE - WE ARE IN THE AIR!!!
What goes up... Should be controlled by a 9X!
Re: Linux Ubuntu Debian Package
Well, partially. 64bit debian package works great. As long as you have the necessary dependencies.
The 32bit package is a bit of a problem.
I was hoping to do an automated mac build but that's waaay out of my depth.
The 32bit package is a bit of a problem.
I was hoping to do an automated mac build but that's waaay out of my depth.
Z
BEWARE - WE ARE IN THE AIR!!!
What goes up... Should be controlled by a 9X!
BEWARE - WE ARE IN THE AIR!!!
What goes up... Should be controlled by a 9X!
Re: Linux Ubuntu Debian Package
Thanks for your time on this Erazz. It is appreciated. My system is 32 bit.
Re: Linux Ubuntu Debian Package
Don't worry, I'll get it fixed. Shouldn't be a big issue.
BTW. after you run "make", run "sudo make install". This will copy the binaries to the proper location and set up a shortcut from your menu. Check it out.
If you don't like it you can type "sudo make uninstall" Super simplem huh?
BTW. after you run "make", run "sudo make install". This will copy the binaries to the proper location and set up a shortcut from your menu. Check it out.
If you don't like it you can type "sudo make uninstall" Super simplem huh?
Z
BEWARE - WE ARE IN THE AIR!!!
What goes up... Should be controlled by a 9X!
BEWARE - WE ARE IN THE AIR!!!
What goes up... Should be controlled by a 9X!
Re: Linux Ubuntu Debian Package
I'm going to need some volenteers/guinea pigs to try and download the.deb files, try to install them and tell me what works.
Z
BEWARE - WE ARE IN THE AIR!!!
What goes up... Should be controlled by a 9X!
BEWARE - WE ARE IN THE AIR!!!
What goes up... Should be controlled by a 9X!
- GrootWitbaas
- Posts: 358
- Joined: Tue Dec 27, 2011 8:57 pm
- Country: -
- Location: Germany
Linux Ubuntu Debian Package
Now that i have the companion9x working on mac it's time i do some changes for eepe on mac. Once i am able to do this I'll send you the info erazz
Sent from my iPhone using Tapatalk
Sent from my iPhone using Tapatalk
General trouble maker and wannabee Dev
Re: Linux Ubuntu Debian Package
Hello. thanks for making the .deb . I got it installed on Ubuntu 11.10 64 bit. It seems to be working but I dont know how to use it yet Here is how I installed the dependencies:erazz wrote:I'm going to need some volenteers/guinea pigs to try and download the.deb files, try to install them and tell me what works.
Code: Select all
sudo apt-get install libqt4-gui libqt4-network libqt4-core avrdude
Code: Select all
sudo dpkg -i eepe-amd64.deb
the dependencies can be handled automatically from within the debian/control file
Code: Select all
Depends: libqt4-gui, libqt4-network, libqt4-core, avrdude
Code: Select all
Architecture: amd64
The lang/ dir and icon.svg could maybe be located at /usr/share/eepe .
When eepe opened it gave me an opportunity to download a version of the firmware. By default it wanted to store it in the / directory. maybe this should be the ~ (home) directory because users dont have write permissions to the / directory. I cant remember how this failed. I think the program just closed with no error warning.
If the demand for the .deb takes off, creating a small repository would be cool. After it is created it's easy for the user to install and update eepe
1. sudo add-apt-repository 'deb http://repo.eepe.comx/ oneric main'
2. sudo apt-get update
3 sudo apt-get install eepe ( this will bring in all the dependencies from the debian/ubuntu mirrors. architecture is also taken care of )
4. then as new versions of eepe are added to the repository, the user just has to 'sudo apt-get dist-upgrade' to get the latest
it's a great first start. my 9x is off of backorder from HK. now hopefully it will ship before the chinese new year then I will get into the software.
thanks again
rperkins
Re: Linux Ubuntu Debian Package
Thanks for the suggestions.
The reason for the placement of the files is the "lang" location. I know it's not canonical with the rest of the linux world but I was lazy and didn't want to code differently for Windows and Linux. I guess I need to include it in my "TODO" list now that we have packages.
Concerning dependencies, checkinstall doesn't handle them very well. Truth be told I simply don't have the time to properly maintain a deb package. I thought about automating the process but, again, I'd rather devote my timne to other things. That being said, if anybody want's to set up an automatic script or be a maintainer for these I'd be glad to help, include it in the project and give credit!
Having an automated Mac package would be wonderful as well. I can manage the compile but packaging is not up my ally.
The reason for the placement of the files is the "lang" location. I know it's not canonical with the rest of the linux world but I was lazy and didn't want to code differently for Windows and Linux. I guess I need to include it in my "TODO" list now that we have packages.
Concerning dependencies, checkinstall doesn't handle them very well. Truth be told I simply don't have the time to properly maintain a deb package. I thought about automating the process but, again, I'd rather devote my timne to other things. That being said, if anybody want's to set up an automatic script or be a maintainer for these I'd be glad to help, include it in the project and give credit!
Having an automated Mac package would be wonderful as well. I can manage the compile but packaging is not up my ally.
Z
BEWARE - WE ARE IN THE AIR!!!
What goes up... Should be controlled by a 9X!
BEWARE - WE ARE IN THE AIR!!!
What goes up... Should be controlled by a 9X!
Re: Linux Ubuntu Debian Package
I understand completely. Lets gauge the need of the community and my commitment to the hobby. The notes above should help anyone who wants to use the deb. I did take the plunge and order an arduino. been looking at hobby cpu's for a long time.erazz wrote:Thanks for the suggestions......snip.....I'd rather devote my timne to other things. That being said, if anybody want's to set up an automatic script or be a maintainer for these I'd be glad to help, include it in the project and give credit! .
Is the 32 bit version working ? If not, I do have a 3 day weekend and the snow is blowing round here in Cleveland. Need to put new swash links on my mcpx. Darn coffee table. Landing skid is mangled too. Snow delayed ups delivery of replacement . But it will still get off the ground
Re: Linux Ubuntu Debian Package
It's not workign at the moment. Apparently it's a compile issue. That is one thing I'd probably have to solve on my own since it's related to my enviornment. I still need to learn how to compile 32bit applications on 64bit.
Z
BEWARE - WE ARE IN THE AIR!!!
What goes up... Should be controlled by a 9X!
BEWARE - WE ARE IN THE AIR!!!
What goes up... Should be controlled by a 9X!
Re: Linux Ubuntu Debian Package
Great news!
I got it working!
deb packages galore!
Look for a functioning 32bit package on the next update!
I got it working!
deb packages galore!
Look for a functioning 32bit package on the next update!
Z
BEWARE - WE ARE IN THE AIR!!!
What goes up... Should be controlled by a 9X!
BEWARE - WE ARE IN THE AIR!!!
What goes up... Should be controlled by a 9X!
Re: Linux Ubuntu Debian Package
alright. way to go. I'm still waiting on my HK to arrive. The new years celebrations are probably about over.
Re: Linux Ubuntu Debian Package
Anybody got the .deb packages to work?
I forgot to mention that you need to install "libqt4-xml" as well.
But it does work
I forgot to mention that you need to install "libqt4-xml" as well.
But it does work
Z
BEWARE - WE ARE IN THE AIR!!!
What goes up... Should be controlled by a 9X!
BEWARE - WE ARE IN THE AIR!!!
What goes up... Should be controlled by a 9X!
-
- Posts: 5
- Joined: Tue Dec 27, 2011 8:16 pm
- Country: -
Re: Linux Ubuntu Debian Package
the .deb packages work fine for me
Thanks
Thanks
Re: Linux Ubuntu Debian Package
Great
It seems that I have also solved the dependencies issue.
On Ubuntu, if you use the software center, it would sort out the dependencies by itself.
You could lso use gdebi to install (gdebi also takes care of dependencies).
All in all, finally. A decent solution. Now to solve the location issue and the automatic updates.....
It seems that I have also solved the dependencies issue.
On Ubuntu, if you use the software center, it would sort out the dependencies by itself.
You could lso use gdebi to install (gdebi also takes care of dependencies).
All in all, finally. A decent solution. Now to solve the location issue and the automatic updates.....
Z
BEWARE - WE ARE IN THE AIR!!!
What goes up... Should be controlled by a 9X!
BEWARE - WE ARE IN THE AIR!!!
What goes up... Should be controlled by a 9X!
-
- Posts: 313
- Joined: Thu Dec 29, 2011 10:18 am
- Country: Australia
- Location: Cooloola Cove, Australia
Re: Linux Ubuntu Debian Package
32 bit version is working on my 11.10 netbook. Thank you for your efforts. Now to sort out what it is all about.
-
- Posts: 4
- Joined: Fri Mar 02, 2012 5:18 pm
- Country: -
- Location: Richardson, TX
Re: Linux Ubuntu Debian Package
I downloaded and installed eepe-amd64.deb on my Ubuntu 10.04 system today. The install appeared to go cleanly. GDebi identified and installed dependencies.
When I click on Configure on the toolbar or on Preferences in the menu the application terminates with this message in the terminal:
eepe: symbol lookup error: eepe: undefined symbol: _ZN9QListData11detach_growEPii
Am I doing something incorrectly? Thanks.
When I click on Configure on the toolbar or on Preferences in the menu the application terminates with this message in the terminal:
eepe: symbol lookup error: eepe: undefined symbol: _ZN9QListData11detach_growEPii
Am I doing something incorrectly? Thanks.
Re: Linux Ubuntu Debian Package
hi, i am using 64bit ubuntu deb and get the same error as the last poster, any ideas?
Re: Linux Ubuntu Debian Package
Weird...
Let's try this. Can you post this line in your terminal? (it installs the correct libraries)
It is very likely that you are running an incompatible version of Qt...
Please run this code and tell me the output: (it lists the data for the libqt4-core package)
Let's try this. Can you post this line in your terminal? (it installs the correct libraries)
Code: Select all
sudo apt-get install libqt4-core libqt4-network libqt4-xml libqt4-gui avrdude
Please run this code and tell me the output: (it lists the data for the libqt4-core package)
Code: Select all
dpkg -l |grep libqt4-core
Z
BEWARE - WE ARE IN THE AIR!!!
What goes up... Should be controlled by a 9X!
BEWARE - WE ARE IN THE AIR!!!
What goes up... Should be controlled by a 9X!
-
- Posts: 4
- Joined: Fri Mar 02, 2012 5:18 pm
- Country: -
- Location: Richardson, TX
Re: Linux Ubuntu Debian Package
On my system:
Reading package lists... Done
Building dependency tree
Reading state information... Done
libqt4-core is already the newest version.
libqt4-core set to manually installed.
libqt4-network is already the newest version.
libqt4-network set to manually installed.
libqt4-xml is already the newest version.
libqt4-xml set to manually installed.
libqt4-gui is already the newest version.
libqt4-gui set to manually installed.
avrdude is already the newest version.
avrdude set to manually installed.
The following packages were automatically installed and are no longer required:
nspluginwrapper vcdimager libsvga1 libpst4 mplayer libiso9660-7
libcouchdb-glib-1.0-2 mencoder liblzo2-2 libdesktopcouch-glib-1.0-2
libvcdinfo0
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
ii libqt4-core 4:4.6.2-0ubuntu5.3 transitional package for Qt 4 core non-GUI r
Code: Select all
sudo apt-get install libqt4-core libqt4-network libqt4-xml libqt4-gui avrdude
Building dependency tree
Reading state information... Done
libqt4-core is already the newest version.
libqt4-core set to manually installed.
libqt4-network is already the newest version.
libqt4-network set to manually installed.
libqt4-xml is already the newest version.
libqt4-xml set to manually installed.
libqt4-gui is already the newest version.
libqt4-gui set to manually installed.
avrdude is already the newest version.
avrdude set to manually installed.
The following packages were automatically installed and are no longer required:
nspluginwrapper vcdimager libsvga1 libpst4 mplayer libiso9660-7
libcouchdb-glib-1.0-2 mencoder liblzo2-2 libdesktopcouch-glib-1.0-2
libvcdinfo0
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Code: Select all
dpkg -l |grep libqt4-core
Re: Linux Ubuntu Debian Package
Well, there's your problem....
You're running 4.6.2 while eePe is supposed to run with 4.7.4.
This is a problem that comes with Qt and was fixed somewhere between the two versions.
You're running an older version of Ubuntu which uses the older libraries.
You're running 4.6.2 while eePe is supposed to run with 4.7.4.
This is a problem that comes with Qt and was fixed somewhere between the two versions.
You're running an older version of Ubuntu which uses the older libraries.
Z
BEWARE - WE ARE IN THE AIR!!!
What goes up... Should be controlled by a 9X!
BEWARE - WE ARE IN THE AIR!!!
What goes up... Should be controlled by a 9X!