On Wednesday, January 29, 2014 17:08:48 Chris Knadle wrote: > On Wednesday, January 29, 2014 16:33:47 Joseph Apuzzo wrote: > > Nope still does not seem to install any executable code. > > What if anything am I missing? > > > > Chris can you take a look at the deb package and see what the F is up with > > it? > > It's pretty disappointing; probably an example of building a .deb > "manually". There are no dependencies in the package;
well, almost none -- it depends on xbg-utils and libaudio2 > $ file DraftSight > DraftSight: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), > dynamically linked (uses shared libs), for GNU/Linux 2.6.15, > BuildID[sha1]=fe7582121b3f3bc91d22a42fa0502b5e8355adaf, not stripped > > This is confusing; if they're using dynamically linked libraries then they > must have done something to get ld to find the libraries in /opt. and it looks like it doesn't matter; basically what happens is that after the install trying to run the DraftSight binary errors out because all of these libraries are missing, thus need to be installed manually. Or at least that's the behavior I see when trying to install it in a VM. However in case this helps you guys, I want to impart something interesting you can do with .deb packages that need modification. :-) mkdir draftsight_mod dpkg-deb -x draftsight.deb ./draftsight_mod/ dpkg-deb -e draftsight.deb mv DEBIAN/ ./draftsight_mod/ cd draftsight_mod <make modifications here of various kinds> cd .. mv draftsight.deb draftsight_OLD.deb dpkg-deb -b draftsight_mod draftsight.deb The last command repackages the directory that contains a DEBIAN/ directory containing the control files, and the files that will be shipped on the system, and builds them into a .deb package. So if you don't like something, like, oh I don't know, the contents of DEBIAN/preinst for instance, and would like to make that file, oh I don't know, GO AWAY, then you can simply unpack the package, delete the file, and repack it. Typically these are things you only need for proprietary software built into a .deb. -- Chris -- Chris Knadle [email protected] _______________________________________________ Mid-Hudson Valley Linux Users Group http://mhvlug.org http://mhvlug.org/cgi-bin/mailman/listinfo/mhvlug Upcoming Meetings (6pm - 8pm) Vassar College Feb 5 - Nginx Mar 5 - March Meeting: 11th Anniversary Apr 2 - Google App Engine
