LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (http://www.linuxquestions.org/questions/debian-26/)
-   -   can I install prozilla-2.0.4.tar.bz2 in Debian (wheezy)? (http://www.linuxquestions.org/questions/debian-26/can-i-install-prozilla-2-0-4-tar-bz2-in-debian-wheezy-4175464412/)

mshlinux 06-01-2013 10:15 PM

can I install prozilla-2.0.4.tar.bz2 in Debian (wheezy)?
 
In search of prozilla, I found prozilla_1.3.6-3woody3_i386.deb and install it in Debian(wheezy). it's ok. prozilla work well.
but according to further googling, it seems that the latest version is prozilla-2.0.4. but it is not .deb. it is with .tar.bz2. so I downloaded and tried to install.

extract prozilla-2.0.4.tar.bz2
read INSTALL file
do ./configure (as the instructions in INSTALL file)
then when I do make I get this:
Quote:

make: *** No targets specified and no makefile found. Stop.
I also those commands with root previllage. but result is same same.

so.....
Can I install prozilla-2.0.4.tar.bz2 or .tar.bz2 files in Debian(wheezy)?
if I can, how to do that?

I got the error message below as well at the end of ./configure process.
Quote:

configure: error: **A (n)curses library was not found. The program needs ncurses to run, Ncurses is freely available at : ftp://ftp.gnu.org/pub/gnu **

widget 06-02-2013 01:40 AM

If you are happy with the version you have I would stick with it.

Running a search for this thing turns up little to give any confidence in its current development.

There are tickets on it for version 2.03 that go back to 2003 at least.

Installing packages from outside the official repos is not encouraged and as one person on this forum has in his sig
"If it is not in the repos it doesn't exist or you don't need it"

This is a good attitude to cultivate.

Linux was originally built with tarballs. If you have all the build tools installed and this thing will not build I would forget it for sure.

jdkaye 06-02-2013 02:17 AM

Quote:

Installing packages from outside the official repos is not encouraged and as one person on this forum has in his sig
"If it is not in the repos it doesn't exist or you don't need it"

This is a good attitude to cultivate.
Hmmm. How do you explain the existence non-empty /opt folders among most (all?) Debian users? I do agree with you in general.
jdk

mshlinux 06-02-2013 04:30 AM

i am happy with the version i have.
but i just wanna know what about it.

widget 06-02-2013 02:08 PM

Quote:

Originally Posted by jdkaye (Post 4963867)
Hmmm. How do you explain the existence non-empty /opt folders among most (all?) Debian users? I do agree with you in general.
jdk

There are a number of good reasons to be installing things in /opt.

It would be preferable if what ever was to be installed was somewhat researched and understood to be maintained in some transparent manner before doing so.

jdkaye 06-03-2013 12:47 AM

Quote:

Originally Posted by widget (Post 4964128)
There are a number of good reasons to be installing things in /opt.

Agreed that's why I have a few things in /opt and I guess that's why /opt is standard in most distros.
Quote:

It would be preferable if what ever was to be installed was somewhat researched and understood to be maintained in some transparent manner before doing so.
Agreed again.
My point was that "If it is not in the repos it doesn't exist or you don't need it" is rather extreme. That view seems incompatible with the existence and function of an /opt folder.
jdk

mshlinux 06-03-2013 03:39 AM

I don't completely understand what you two are talking about because of my lack of background knowledge.
Could you please share your knowledge.

/opt folder is an option to install things from outside debian repos?
If so, please explain about it and how to do that. I would appreciate it.

Anyway, I do agreed with this:
Quote:

My point was that "If it is not in the repos it doesn't exist or you don't need it" is rather extreme.
I migrate from else where to debian because of its stability, reliablity and plentiful packages.
But, sometime, I want to tinker with new packages, new versions and everything else if it is possible to restore or rescue from bad side effects.

I am still a beginner.
that's why, I think, tinkering, testing and experiment are needed to learn about a linux distro.

jdkaye 06-03-2013 06:11 AM

Sorry about that, mshlinux.
The /opt folder comes as standard on Debian installs. So you should have an /opt folder. Most non-repos .deb files are set to install themselves into /opt as a default. So if you install non-free Java, Libreoffice from the Libreoffice site, Calibre, etc. etc. their default destination will be /opt. Since /opt is not your home folder you need root privileges to install stuff there. Here's how Calibre works:
Code:

sudo python -c "import sys; py3 = sys.version_info[0] > 2; u = __import__('urllib.request' if py3 else 'urllib', fromlist=1); exec(u.urlopen('http://status.calibre-ebook.com/linux_installer').read()); main()"
If you paste that command into a terminal it will prompt you about where you want to install calibre with the default being /opt.
Hope that's clear.
jdk

cynwulf 06-03-2013 06:17 AM

Regarding /opt, it's much the same thing as /usr/local and yes you can install binaries there or make it the target for your build scripts (/usr/local instead of /), but it's far better to debianise the source and build proper deb packages wherever possible. I do not have time for a full tutorial (plus there are many online), and I haven't tried to see if this particular program will build, but it should be a case of something like:

Code:

# apt-get install dh-make fakeroot
You will also need to read the documentation which comes with the source and ensure you have all of the dependencies (e.g. libncurses5-dev).

Create a build directory to keep it tidy (as your normal user)
Code:

$ cd ~
$ mkdir prozilla
$ cd prozilla

Then download or copy the archive to this new directory (do not work with the source you've already extracted).

Extract source and run dhmake
Code:

$ tar jxvf prozilla-2.0.4.tar.bz2
$ cd prozilla-2.0.4
$ dh_make

Select (usually) "single binary"

Then try to build the package (still as your normal user)
Code:

$ dpkg-buildpackage -rfakeroot -us -uc
And if this goes well install (as root)...
Code:

$ cd ..
# dpkg -i prozilla*deb


mshlinux 06-03-2013 09:03 AM

okkk!
thank u all much.
this thread is valuable for me.

the trooper 06-03-2013 09:44 AM

Thanks cynwulf,I hadn't heard of df-make.

mshlinux 06-04-2013 12:04 AM

Quote:

Originally Posted by cynwulf (Post 4964492)
Regarding /opt, it's much the same thing as /usr/local and yes you can install binaries there or make it the target for your build scripts (/usr/local instead of /), but it's far better to debianise the source and build proper deb packages wherever possible. I do not have time for a full tutorial (plus there are many online), and I haven't tried to see if this particular program will build, but it should be a case of something like:

Code:

# apt-get install dh-make fakeroot
You will also need to read the documentation which comes with the source and ensure you have all of the dependencies (e.g. libncurses5-dev).

Create a build directory to keep it tidy (as your normal user)
Code:

$ cd ~
$ mkdir prozilla
$ cd prozilla

Then download or copy the archive to this new directory (do not work with the source you've already extracted).

Extract source and run dhmake
Code:

$ tar jxvf prozilla-2.0.4.tar.bz2
$ cd prozilla-2.0.4
$ dh_make

Select (usually) "single binary"

Then try to build the package (still as your normal user)
Code:

$ dpkg-buildpackage -rfakeroot -us -uc
And if this goes well install (as root)...
Code:

$ cd ..
# dpkg -i prozilla*deb


thank cynwulf, you gave me straight answer with much I should learn. u r great !


All times are GMT -5. The time now is 02:28 AM.