🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
5 messages
5 total messages Started by Benedict White Thu, 13 Jan 2005 13:26
compile install makepkg question
#70594
Author: Benedict White
Date: Thu, 13 Jan 2005 13:26
38 lines
1926 bytes
Hi.

I am making a package for a distribution of Linux called Arch (See 
http://www.archlinux.org/

Now I think make went OK, but what I wanted to do was to run 
make install 

and have it put all files in some dir/pkg
so that the packager can gather all the files and put them in the 
package as well as list all the files for updating etc purposes.

I can, if needed patch the install file after it has been made and 
before make install is run, but I would need to know which variable to 
mod in support/install-sh

Obviously if I could pass make install a command line argument that 
would be better.

BTW, High Russ, long time no speak, I hope you had a good new year.


-- 
Kind regards



Benedict White


Please note that my email address is not checked regularly and will
be used for harvesting UCE. If you want to email me work out my address
from the following, my first name at law 4 free daht org daht uk.
If this cause accessibility problems to those who are blind etc., please
post a follow up, and I will try and improve the situation.


Re: compile install makepkg question
#70597
Author: Russ Allbery
Date: Thu, 13 Jan 2005 15:39
35 lines
2372 bytes
Benedict White <benedict@arch.cse-ltd.co.uk> writes:

> I am making a package for a distribution of Linux called Arch (See 
> http://www.archlinux.org/

> Now I think make went OK, but what I wanted to do was to run 
> make install 

> and have it put all files in some dir/pkg
> so that the packager can gather all the files and put them in the 
> package as well as list all the files for updating etc purposes.

> I can, if needed patch the install file after it has been made and 
> before make install is run, but I would need to know which variable to 
> mod in support/install-sh

> Obviously if I could pass make install a command line argument that 
> would be better.

I'm not completely sure, but I think you may be looking for:

    make install DESTDIR=/some/package/directory

which should work but doesn't get tested a lot (so if you run into
problems, please let me know).

> BTW, High Russ, long time no speak, I hope you had a good new year.

Thanks!  You too!

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: compile install makepkg question
#70602
Author: Benedict White
Date: Fri, 14 Jan 2005 10:13
65 lines
3041 bytes
Russ Allbery <rra@stanford.edu> wrote:
> Benedict White <benedict@arch.cse-ltd.co.uk> writes:

> > I am making a package for a distribution of Linux called Arch (See 
> > http://www.archlinux.org/

> > Now I think make went OK, but what I wanted to do was to run 
> > make install 

> > and have it put all files in some dir/pkg
> > so that the packager can gather all the files and put them in the 
> > package as well as list all the files for updating etc purposes.

> > I can, if needed patch the install file after it has been made and 
> > before make install is run, but I would need to know which variable to 
> > mod in support/install-sh

> > Obviously if I could pass make install a command line argument that 
> > would be better.

> I'm not completely sure, but I think you may be looking for:

>     make install DESTDIR=/some/package/directory

That worked great and I have it running. Many thanks.

In hindsight of course reading the docs for a few minutes more would 
have given me that answer. I shall try harder next time.


> which should work but doesn't get tested a lot (so if you run into
> problems, please let me know).

It works absolutely fine. Consider it tested again.

There is a little problem with the include files though. It creates one 
called paths.h and there is already such a file owned by glibc.

For the moment I have put this in a new include directory 
(/usr/include/news) and that works but is obviously non standard.

Does inn need to put out its own include files?

BTW, if I mailed you directly I am sorry, I had a brain issue with tin 
and was using r where I should have been using f.



-- 
Kind regards



Benedict White



Please note that my email address is not checked regularly and will
be used for harvesting UCE. If you want to email me work out my address
from the following, my first name at law 4 free daht org daht uk.
If this cause accessibility problems to those who are blind etc., please
post a follow up, and I will try and improve the situation.


Re: compile install makepkg question
#70603
Author: Russ Allbery
Date: Fri, 14 Jan 2005 19:53
28 lines
2313 bytes
Benedict White <benedict@arch.cse-ltd.co.uk> writes:

> There is a little problem with the include files though. It creates one
> called paths.h and there is already such a file owned by glibc.

> For the moment I have put this in a new include directory
> (/usr/include/news) and that works but is obviously non standard.

> Does inn need to put out its own include files?

No, not really.  You only need the include files if you plan on building
some other piece of software that uses the INN libraries, and there aren't
very many of those right now for a variety of reasons (including the fact
that the API is in serious flux and changes with every release of INN).

I'm hoping that the next major release of INN will put all of the include
files into an inn subdirectory, including this one.

> BTW, if I mailed you directly I am sorry, I had a brain issue with tin
> and was using r where I should have been using f.

I didn't get anything.  :)

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: compile install makepkg question
#70605
Author: Benedict White
Date: Fri, 14 Jan 2005 23:47
56 lines
2964 bytes
Russ Allbery <rra@stanford.edu> wrote:
> Benedict White <benedict@arch.cse-ltd.co.uk> writes:

> > There is a little problem with the include files though. It creates one
> > called paths.h and there is already such a file owned by glibc.

> > For the moment I have put this in a new include directory
> > (/usr/include/news) and that works but is obviously non standard.

> > Does inn need to put out its own include files?

> No, not really.  You only need the include files if you plan on building
> some other piece of software that uses the INN libraries, and there aren't
> very many of those right now for a variety of reasons (including the fact
> that the API is in serious flux and changes with every release of INN).

Good, I will put a script in the package build routine to wipe that 
directory.

> I'm hoping that the next major release of INN will put all of the include
> files into an inn subdirectory, including this one.

Thanks, that will help. Presumably it will be in PREFIX/include/inn/ 
which is exactly where I place it.
(so perhaps I will leave it there as Arch is very bleading edge, it is 
noce to know it is well ahead of the developers : - )  )

> > BTW, if I mailed you directly I am sorry, I had a brain issue with tin
> > and was using r where I should have been using f.

> I didn't get anything.  :)


Good. In hindsight it was rubbish anyway, and indicated that I had 
failed to read the bit of the install file that make install said I 
should read.

Could have made me look bad. : - )

-- 
Kind regards



Benedict White



Please note that my email address is not checked regularly and will
be used for harvesting UCE. If you want to email me work out my address
from the following, my first name at law 4 free daht org daht uk.
If this cause accessibility problems to those who are blind etc., please
post a follow up, and I will try and improve the situation.


Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads