dsl, hylafax, and installing apps from sources


Forum: User Feedback
Topic: dsl, hylafax, and installing apps from sources
started by: jjh

Posted by jjh on Aug. 03 2007,04:03
Hi All:

Here is the background:  I am contemplating running a HDD install of DSL and want to run hylafax (a fax server) under DSL.  Target platform is a 133mhz laptop with 80 MB RAM and 30 gb HD (4-8 gb partitions.)

q1: has anybody configured hylafax under DSL? If so, please provide me with some details..

My task: I assume the answer is 'NO' to q1, so I plan on doing it, which means getting the hylafax src, and building it from scratch.  Now I need to ask specific questions:

q2: Do any of the following come with DSL? if not, which of the following can be installed under DSL (fairly easily): gcc, libg++, libtiff, ghostscript, awk, sendmail(or metamail)?

q3: What is the procedure/guidelines for building an application that will run under DSL?
I was reading the info in myDSL docs but I am not sure how to use it, or if it is even applicable.

q4:  How does one check the presence of an application that hylafax needs?  For example, with RH/FC, typing 'rpm program_name' will tell if the program is installed.

q5: Are installers such as apt-get or dpkg installed and work in DSL?

Thanks for feedback on any of these questions.
J

Posted by Juanito on Aug. 03 2007,05:47
q1 - don't know - look in myDSL
q2 - you'll need the gnu-utils, gcc1-with-libs & (optionally) gcc-2.95 extensions to compile - ghostscript is in a hplip extension I just submitted, awk is already in dsl (and if not, it's in gnu-utils).
q3 - just use ./configure, make & sudo make install as usual - it somehow seems to work better in dsl if you compile to /opt/myapp.
q4 - whereis app_bin (?) if it is in the path
q5 - use dsl-dpkg extension then apt-get/dpkg will work

Posted by lucky13 on Aug. 03 2007,12:27
Adding to Juanito's answer:
2: < http://damnsmalllinux.org/packages.html >

Posted by jjh on Aug. 03 2007,13:53
Quote (lucky13 @ Aug. 03 2007,08:27)
Adding to Juanito's answer:
2: < http://damnsmalllinux.org/packages.html >

Thanks for the help.  The only thing I am uncertain about is sendmail.  Does not appear to be part of the base distribution nor in myDSL.    
A few more questions:
1.Any idea how difficult sendmail would be to compile/install?
(This program is critical to hylafax).
2. how are dependencies checked that a program needs in DSL?  I guess there are two parts: 2a) Within the source app itself? (I guess the app doc should tell me that?) 2b) Ensure the path and dependency is in DSL?
3. Assuming I get through this and the install of hylafax does work, how can I make a binary package for distribution?  Is there a how-to?
4. Currently, Firefox is at V 2.0.0.4.  What is the most recent version under DSL?
5. I've read, a number of times, that DSL is Debian-based.  So, is it correct to assume that 'standard programs' such as ls, chmod, etc. are fully implemented (e.g. with all/most of the switches functional)?  I know there are variations with each distribution, but generally speaking?  I am curious as to what philosophy was used to make DSL small - rewrite apps from scratch? remove switch features, remove multiuser support?

Sorry for all the questions - am new with this distro and want to make as sure as possible that my time spent has a good chance of paying off. I do appreciate your time/responses.

-John

Posted by curaga on Aug. 03 2007,14:08
1) Sendmail follows the general - configure, make, make install - but it needs some configuration before it can run.. It depends on procmail
2) the program's configure checks them, it's also easier for you to let it do the checking
3) as sendmail configuration affects some core system files, a package would not be easy (because of this you should also build on a traditional HD-install, to make all the changes stay)
4) With "vanilla" dsl, it's bon echo, which is 2.0 beta. However if you add gtk2, normal firefox will work (from the FF site, 2.0.0.5 is newest)
5) nope, most programs are from busybox, which doesn't include full implementations. Gnu-utils.dsl however replaces them with full ones..

When I talked about Sendmail configuration I meant it does not do it automatically, you need to add a "sendmail" user among other things yourself..
DSL was made small partly by using busybox, removing things not needed, and choosing smaller programs for a need (for example, monkey web server instead of Apache 'cause it's smaller)

Posted by jjh on Aug. 03 2007,14:50
Quote (curaga @ Aug. 03 2007,10:08)
1) Sendmail follows the general - configure, make, make install - but it needs some configuration before it can run.. It depends on procmail
...snip...

When I talked about Sendmail configuration I meant it does not do it automatically, you need to add a "sendmail" user among other things yourself..
DSL was made small partly by using busybox, removing things not needed, and choosing smaller programs for a need (for example, monkey web server instead of Apache 'cause it's smaller)

So if I apt-get sendmail and config/make/make-install, do I also need to get procmail? (procmail is not part of DSL?)

Thanks again.
-J

Posted by curaga on Aug. 03 2007,14:59
no, apt-get will get all dependencies incl procmail.. But I'm not sure if it can configure sendmail, it would if DSL were normal Debian, but as DSL isn't, it might not be able to do the config..
Posted by lucky13 on Aug. 03 2007,15:11
Quote
2.0.0.5 is newest


Actually, 2.0.0.6 is latest now; I was surprised because my Windows version updated 2.0.0.5 and 2.0.0.6 within 16 hours of each other.

Posted by curaga on Aug. 03 2007,15:14
wow, they have lot's of bugs do they?
Posted by lucky13 on Aug. 03 2007,15:15
Quote
So if I apt-get sendmail and config/make/make-install

You don't do both. You'll get a binary from apt-get, and apt-get handles the dependencies (which MIGHT be a problem as curaga said because DSL isn't straight-laced Debian). You'll make a binary from source with ./configure, etc., so you'll have to do all your dependencies on your own.

Posted by jjh on Aug. 03 2007,15:25
Quote (lucky13 @ Aug. 03 2007,11:15)
Quote
So if I apt-get sendmail and config/make/make-install

You don't do both. You'll get a binary from apt-get, and apt-get handles the dependencies (which MIGHT be a problem as curaga said because DSL isn't straight-laced Debian). You'll make a binary from source with ./configure, etc., so you'll have to do all your dependencies on your own.

'do the dependencies on my own'.....What is the easiest way to do this? (look at the sendmail doc, check the dependency list, get and install each dependency? or is there an easier/better way?)
-J

Posted by lucky13 on Aug. 03 2007,15:29
Quote
wow, they have lot's of bugs do they?

Some of these go beyond "bugs." If it weren't for NoScript, I would've removed firefox from this computer (Windows) altogether.
< http://www.xs-sniper.com/sniperscope/IE-Pwns-Firefox.html >
< http://aviv.raffon.net/2007....It.aspx >

Posted by lucky13 on Aug. 03 2007,15:40
Quote
What is the easiest way to do this?


Method one: install dpkg from MyDSL. Use apt-get.

Method two: install gcc, etc., from MyDSL. Download sources. Compile.

You want ease? I don't think sendmail answers that question.
< http://www.sendmail.org/doc/sendmail-current/doc/op/op.pdf >

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.