[oss-devel] GentooLinux 64bit: cp: cannot overwrite non-directory `/usr/lib' with directory `prototype/usr/lib'
Sławomir Gąsiorowski
sgasiorowski at gmail.com
Mon Jun 18 22:01:08 EEST 2007
Hi,
I've successfully installed OSS on Gentoo. In home I have 32 bit processor
(Athlon XP) and there was no problem. Of course I don't have ALSA soundcore
and any other ALSA depend module staticaly linked into kernel - that's why
the only thing to do was unload all alsa (by script /etc/init.d/alsasound)
modules before start compiling OSS. So, as I said before on my 32 bit
machine, where /lib and /usr/lib are not symlinks make install stages works
fine.
On 64 bit Gentoo I've found a little bit different solution, than Yours. I
found that the problem is in $OSSSOURCES/setup/Linux/make.local file, where
we can find 'cp -R prototype/* /' command. The hack I made was to comment
out this line in make.local, copy all stuff from prototype/* to / manually
(with mc for example) and then proceed with make install. Finally OSS works
on 64 bit Gentoo too :-)
By the way, It would be nice to find an elegant solution for this damn
symlinked Gentoo lib directories.
Best regards
--
Sławomir Gąsiorowski
sgasiorowski at gmail.com
2007/6/18, Hannu Savolainen <hannu at opensound.com>:
>
> Hi,
>
> You can do "make tarball" instead of "make install" and then install OSS
> form the tar.bz2 package created in the build directory
> (/usr/src/ossbuild in your case).
>
> cd /
> tar xvfj the_tar_bz2_package
> cd /usr/lib/oss/build
> sh install.sh
>
> However be warned that installing OSS will probably not work under
> Gentoo. The soundcore module seems to be statically linked in the kernel
> or there is some other driver that keeps the character device 14 busy.
>
> Best regards,
>
> Hannu
> -------
> S?awomir Ga;siorowski kirjoitti:
> > I am Gentoo Linux user (Linux pc-126 2.6.21-gentoo-r3 #1 Wed Jun 13
> > 09:46:37 CEST 2007 x86_64 AMD Athlon(tm) 64 Processor 3500+
> > AuthenticAMD GNU/Linux).
> > On 64 bit system i have discovered a problem with error on make
> > install (gcc 4.1.2):
> >
> > cp -R prototype/* /
> > cp: cannot overwrite non-directory `/usr/lib' with directory
> > `prototype/usr/lib'
> >
> > In 64 bit Gentoo Linux lib directory is symlinked to lib64 in root and
> > usr directory
> >
> > pc-126 ossbuild # ls -l /lib
> > lrwxrwxrwx 1 root root 5 Apr 26 09:07 /lib -> lib64
> > pc-126 ossbuild # ls -l /usr/lib
> > lrwxrwxrwx 1 root root 5 Apr 26 09:06 /usr/lib -> lib64
> >
> > I think this is the reason why cp command fails on 'cp -R prototype/* /'
> > It could be nice to fix this error.
> >
> > I have included an attachement with error.log
> >
> > Thanks
> > --
> > Slawomir Gasiorowski
> > sgasiorowski at gmail.com <mailto:sgasiorowski at gmail.com>
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > oss-devel mailing list
> > oss-devel at mailman.opensound.com
> > http://mailman.opensound.com/mailman/listinfo/oss-devel
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.opensound.com/pipermail/oss-devel/attachments/20070618/fd3c39a6/attachment.htm
More information about the oss-devel
mailing list