LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 05-05-2004, 12:30 PM   #1
Borje
Member
 
Registered: Apr 2004
Location: Helsingborg, Sweden
Distribution: Debian/Xandros 3.0
Posts: 41

Rep: Reputation: 15
How do I get apt to know about self-compiled software


If I have downloaded source and compiled it myself, how do those packages in the database that apt uses.
apt-get update only checks for new lists on the sites specified on sources.list right?
 
Old 05-05-2004, 03:01 PM   #2
zuralin
Member
 
Registered: Sep 2003
Distribution: Debian testing/unstable
Posts: 229

Rep: Reputation: 32
I think your looking for 'equivs' for more info check:
http://www.debian.org/doc/manuals/ap...elpers.en.html
 
Old 05-05-2004, 04:06 PM   #3
Borje
Member
 
Registered: Apr 2004
Location: Helsingborg, Sweden
Distribution: Debian/Xandros 3.0
Posts: 41

Original Poster
Rep: Reputation: 15
thanks zuralin but now I've run into another problem with equivs. Having done a "equivs-control filename" and changing the package accordingly I try to do a "equivs-build filename" and get the following error message:

Possible precedence problem on bitwise & operator at /usr/bin/equivs-build line 71.
Possible precedence problem on bitwise & operator at /usr/bin/equivs-build line 179.
Error on copying <additionalfilesforthedocdirectory to /home/user/test/equivs/docs/<additionalfilesforthedocdirectory : No such file or directory at /usr/bin/equivs-build line 98, <IN> line 43.

I've googled but found nothing on this...
 
Old 05-07-2004, 10:10 AM   #4
Borje
Member
 
Registered: Apr 2004
Location: Helsingborg, Sweden
Distribution: Debian/Xandros 3.0
Posts: 41

Original Poster
Rep: Reputation: 15
I got past that problem but still the equiv wont build right. Here's the ouput when trying to build it:

Possible precedence problem on bitwise & operator at /usr/bin/equivs-build line 71.
Possible precedence problem on bitwise & operator at /usr/bin/equivs-build line 179.
dh_testdir
touch build-stamp
dh_testdir
dh_testroot
dh_clean -k
# Add here commands to install the package into debian/tmp.
touch install-stamp
dh_testdir
dh_testroot
dh_installdocs
dh_installchangelogs
parsechangelog/debian: error: badly formatted heading line, at changelog line 1
dh_installchangelogs: changelog parse failure
make: *** [binary-arch] Error 1
Error during the build process: Inappropriate ioctl for device at /usr/bin/equivs-build line 180, <IN> line 31.

does anyone know how to handle these equivs?
 
Old 05-20-2004, 10:16 PM   #5
mirradric
Member
 
Registered: May 2004
Location: Singapore
Distribution: Debian woody and debian sarge
Posts: 188

Rep: Reputation: 31
do you mind posting your control file as well?
 
Old 05-27-2004, 02:26 PM   #6
Borje
Member
 
Registered: Apr 2004
Location: Helsingborg, Sweden
Distribution: Debian/Xandros 3.0
Posts: 41

Original Poster
Rep: Reputation: 15
Haven't checked here for a while and had almost given up on this thread...
I'm trying to build an equiv (or whatever they are called in singularis) for mplayer and the control file looks like this:

File mplayer:

Section: misc
Priority: optional
Standards-Version: 3.5.10

Package: <mplayer>
Version: <0.92.1>
Provides: <mplayer>
Architecture: all

got any ideas?
 
Old 05-28-2004, 10:51 AM   #7
mirradric
Member
 
Registered: May 2004
Location: Singapore
Distribution: Debian woody and debian sarge
Posts: 188

Rep: Reputation: 31
get rid of the <> around your package and provides fields.
I suspect (by observing the changelogs of actual debian packages) that the <> around the version field should be removed as well but it builded for me with the <> around version.

After the changes, your control file should look like this:

Section: misc
Priority: optional
Standards-Version: 3.5.10

Package: mplayer
Version: 0.92.1
Provides: mplayer
Architecture: all
 
Old 05-30-2004, 07:34 AM   #8
Borje
Member
 
Registered: Apr 2004
Location: Helsingborg, Sweden
Distribution: Debian/Xandros 3.0
Posts: 41

Original Poster
Rep: Reputation: 15
That acctually worked. Thought I had tried something like that on the way but I guess I just took for granted it would ignore the <>
Anyway, thanks for helping!
 
Old 06-02-2004, 02:39 PM   #9
mirradric
Member
 
Registered: May 2004
Location: Singapore
Distribution: Debian woody and debian sarge
Posts: 188

Rep: Reputation: 31
Just found something that might help you in the future with equivs.
the man page for deb-control has a description of the format for control files and an example.
 
  


Reply



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
Compiled software and YUM SSBN Red Hat 5 05-12-2005 09:35 PM
How do you uninstall compiled software packages? meh1 Linux - Newbie 3 02-11-2005 10:52 AM
update apt with source compiled binaries wgandhi Debian 1 12-20-2004 03:13 AM
how to remove compiled software? greythorne Linux - Distributions 3 09-07-2004 03:16 AM
Removing self-compiled software Raphael M Slackware 11 07-06-2004 02:17 AM

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

All times are GMT -5. The time now is 07:38 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
Open Source Consulting | Domain Registration