LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 02-21-2011, 11:10 AM   #1
Alexvader
Member
 
Registered: Oct 2009
Location: Japan
Distribution: Arch, Debian, Slackware
Posts: 994

Rep: Reputation: 94
Built my first three *deb :)


Hi...

I built my first three applications in deb format.

These were not in any repos, just packed the binaries and built them.

First is QCad parts library from RibbonSoft.

well... not a binary, really... just picked the zip, unpacked it into a tmp/usr/share/qcad/library, created a tmp/DEBIAN/control file, ran dpkg --build tmp on top of this, and renamed tmp.deb to parts-library_2115.1_amd64.deb.

the other was frame3dd http://frame3dd.sourceforge.net/, just a tiny binary that does awesome stuff that some thousand dollar grade programs do, without all those bells and whistles of GUI apps ( why do i need a gui if i have all the breadth of pre processing and post processing that i can get with iPython and Gnuplot/Grace... ? ) compiled it with Intel compilers and packed it to /usr/local/bin using same strategy as above...

The last one was a huge stuff... it's a 300Mb deb...

http://www.brlcad.com/

Not properly Catia-V6 from Dassault systemes, but still a very capable application, with a very hard learning curve...

You can draw an M1-A1 Abrahams with thes thing...

Anyway, this installs by default to /usr/brlcad{share bin lib include man } a whole 1GB folder, with one GUI app ( the cad application propper ) and 200s cli apps for several tasks in bin, and a gazillion libs and headers

Ran dpkg --build to pack the thing after having ran make destdir=~/buildfactory/tmp/usr/brlcad install

I'ts easier to build debs than i thought...

Last edited by Alexvader; 02-21-2011 at 11:28 AM.
 
Old 02-21-2011, 02:16 PM   #2
honeybadger
Member
 
Registered: Aug 2007
Location: India
Distribution: Slackware (mainly) and then a lot of others...
Posts: 855

Rep: Reputation: Disabled
Congradulations and well done.
Keep up the good work.
I will try to make some deb apps for myself too .
 
Old 02-22-2011, 09:12 AM   #3
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Stretch Amd64
Posts: 1,477

Rep: Reputation: Disabled
Nice work Alex,always good to hear a success story relating to my favourite distro!.
 
Old 02-24-2011, 07:14 PM   #4
Alexvader
Member
 
Registered: Oct 2009
Location: Japan
Distribution: Arch, Debian, Slackware
Posts: 994

Original Poster
Rep: Reputation: 94
Package does not support make DESTDIR install... :(

Hi,

I am building ( debianizing ) some stuff i use, and I came along this thing, MbDyn http://www.aero.polimi.it/mbdyn/.

Built this with Intel C and Fortran compilers, but when i tried to install this to ./mbdyn-1.3.18_amd64 folder to run dpkg --build over it and get some mbdyn-1.3.18_amd64.deb, make DESTDIR=/home/alex/pkgs/mbdyn-1.3.18_amd64 install, this says

Quote:
Configured modules:/bin/bash /home/alex/pkgs/mbDyn/mbdyn-1.3.18/build/install-sh -d /usr/local/mbdyn/libexec
mkdir: cannot create directory `/usr/local/mbdyn': Permission denied
mkdir: cannot create directory `/usr/local/mbdyn': Permission denied
make[1]: *** [install] Error 1
make[1]: Leaving directory `/home/alex/pkgs/mbDyn/mbdyn-1.3.18/modules'
make: *** [install-recursive] Error 1
alex@iskandhar:~/pkgs/mbDyn/mbdyn-1.3.18$ nano configure
alex@iskandhar:~/pkgs/mbDyn/mbdyn-1.3.18$ make DESTDIR=/home/alex/pkgs/mbdyn-1.3.18 install
and i am afraid that using --prefix=.../... will break some package functionalities...

What do you think about it...?

BRGDS

Alex

Last edited by Alexvader; 02-24-2011 at 07:17 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
unpack multiple deb files with dpkg-deb? steve51184 Linux - Software 2 02-13-2011 09:48 AM
How can I run this .deb file: install_flash_player_10_linux.deb abefroman Linux - Desktop 1 11-04-2009 11:02 AM
Built on Linux. Built on *nix. The OS X application model. drhart4000 Linux - General 2 06-10-2009 05:27 AM
built-to-order PC or ready-built PC from well-known companies? kpachopoulos General 6 11-03-2004 04:14 PM
Can apt4rpm use deb repositories or install .deb packages? raylpc Linux - General 0 08-18-2003 02:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 07:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration