issue on packaging nginx

Cherife Li cherife at dotimes.com
Wed Mar 19 11:10:53 MSK 2008


On 03/19/08 15:42, bianbian wrote:
> why not use:
> ln -s
> ......
> 
Yeah, this is a choice.
But why don't we just put things in the desired dir directly like many 
other source
codes do.
BTW: IMHO, except necessary, it's a bad method to arrange files link 
here and there.

> 2008/3/19, kingler <kingler at 72pines.com <mailto:kingler at 72pines.com>>:
> 
>     I see what you mean. Since there is no much option yet, you are
>     basically suggesting an addition of a new configure option for this.
>     Let's see what Igor has to say on this.
> 
>     -Liang
> 
> 
>     On Tue, Mar 18, 2008 at 11:52 PM, Cherife Li <cherife at dotimes.com
>     <mailto:cherife at dotimes.com>> wrote:
>      > On Wed, Mar 19, 2008 at 2:17 PM, kingler <kingler at 72pines.com
>     <mailto:kingler at 72pines.com>> wrote:
>      >
>      > > The configuration for the HTML dir is controlled by the nginx.conf
>      > > file, which by default is located in /usr/local/nginx/conf/.
>      > >
>      > > -Liang
>      >
>      > I mean while compiling nginx, which option like ./configure
>      > *--with-datadir=* could
>      > be used to control the installation dir of the html files under
>      > srcdir/html/*. :-)
>      >  I found that they are installed in PREFIX/html dir by default
>     through
>      > Makefile.
>      >
>      > Maybe my question is carking, pls forgive my estheticism. lol
>      >
>      > >
>      > >
>      > >
>      > > On Tue, Mar 18, 2008 at 11:09 PM, Cherife Li
>     <cherife at dotimes.com <mailto:cherife at dotimes.com>> wrote:
>      > > >
>      > > > On 03/19/08 13:58, Cherife Li wrote:
>      > > >  > Hi, all,
>      > > >  >
>      > > >  > While building nginx package for Slackware linux, I found
>     that I
>      > can't
>      > > >  > make the
>      > > >  > 'install' command to install things into the desired
>     directory.
>      > That's
>      > > >  > to say,
>      > > >  >   make install DESTDIR
>      > > >  > was of no effect.
>      > > >  >
>      > > >  > I found this is controlled in the SRC/objs/Makefile file.
>     But I'm not
>      > > >  > good at reworking
>      > > >  > the Makefile.
>      > > >  >
>      > > >  > Could Igor check this and fix it, please?
>      > > >  > Or, is there any good suggestion?
>      > > >  > Thanks in advance.
>      > > >  >
>      > > >  Besides, how can I control the installation dir of html files?
>      > > >  I didn't got an option of ./configure for that.
>      > > >
>      > > >  --
>      > > >  Rgds,
>      > > >  Cherife.
>      > > >
>      > > >
>      > >
>      > >
>      >
>      >
> 
> 
> 
> 
> -- 
> bianbian coding life:
> http://bianbian.org


-- 
Rgds,
Cherife.





More information about the nginx mailing list