I am sending a copy privately, because this is more for blfs dev than
support, I think, and I don't remember if you are subscribed there.

On 30-08-2014 16:35, Ronnie van Aarle wrote:
> Hello blfs support,
> 
> I was building alsa tools and I discovered that seq requires an exception
> in the book.
> 
> There is no configure script in the seq subdirectory, just a Makefile.
> 
> Make install by default installs seq in /usr/local/bin.
> 
> To correctly install seq conforming  LSB standards, the installation
> instructions should be:
> 
> As blfs:
> 
> make CONFIGURE_ARGS=prefix=/usr configure
> 
> As root:
> 
> make install
> 
> 
> 
I think you are referring to a problem that I also had, but with
different solutions. I think that you are right about talking about it
in the book. It is not clear, however, how I would do it there in the
book. The tool installed is sbiload, not seq. But I don't know much more
than installing these tools, so, I could be wrong.



$ ls seq/*
seq/gitcompile  seq/Makefile

seq/sbiload:
...
configure      drums.o3      Makefile    mkinstalldirs  sbiload.o



For all tools, you do:

pushd $tool
books instructions
popd

For seq, you need to go one step further:

pushd seq/sbiload
books instructions
popd

All will install in /usr, programas in /usr/bin.

If it can be of any help, I use (for some DESTDIR, just to analyse):

for tool in as10k1 echomixer envy24control hdajackretask hda-verb \
hdspconf hdsploader hdspmixer hwmixvolume ld10k1 mixartloader \
pcxhrloader rmedigicontrol sb16_csp sbiload sscape_ctl us428control \
usx2yloader vxloader
do

  if [ "$tool"X = "sbiload"X ]; then
    pkg_dir=seq/sbiload
  else
    pkg_dir=$tool
  fi

  pushd $pkg_dir &&
    ./configure --prefix=/usr &&
    make &&
    make DESTDIR=$DESTINODIR/$tool install &&
    #sudo make install &&
    ldconfig
  popd

done; unset tool pkg_dir

Also, if someone has a simpler script, I would be much glad to learn.

-- 
[]s,
Fernando
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to