Any way to get around this?


Forum: Programming and Scripting
Topic: Any way to get around this?
started by: Novice

Posted by Novice on Aug. 23 2006,12:37
First off, just so everybody knows... my username implies my level of skill in Linux in general.  I know just enough to be dangerous to any linux machine I touch.  :D

Anyway, I'm trying to install a vendor-provided module and have been having problems doing so.  After some digging, I found that in the vendor's "Makefile" (I have gcc installed BTW), the "install" commands have some flags that apparently DSL's version doesn't, generally any flag that's an uppercase letter. (i.e. "install -D", or "install -C", but has "install -d" and "install -c").

The module I'm trying to install requires these flags.  Is there a way I would be able to get around them?  Would I have to have a different version of gcc installed, and would I even be able to put another version on DSL?

Thanks in advance.

Posted by mikshaw on Aug. 23 2006,14:08
Install in DSL is actually Busybox.  I'd normally suggest installing gnu-utils.dsl, but it apparently is not a part of that package.  It might be in gcc1-with-libs.dsl, but otherwise all I can suggest is try to copy it from another distro or see if you can find a debian package.
Posted by Novice on Aug. 23 2006,14:46
Oh, I also should have mentioned, I'm running v2.4.

I've installed gnu-utils.dsl. How do I use it?

Posted by mikshaw on Aug. 23 2006,18:02
If you installed it, it's already working.  Basically all it does is overwrite a pile of busybox symlinks with the equivalent GNU applications, which in most cases have more features than Busybox.  As I said, though, I don't think install is part of that package.
Posted by Novice on Aug. 23 2006,18:29
Okay.  Thanks.

I have been having problems getting the gcc-with-libs.dsl, but that's the next route I'll try.  I don't have any other distros to try getting it from... at least none I can access at the moment.

Posted by Novice on Aug. 24 2006,12:01
Well, I installed gcc-with-libs.dsl and the install command doesn't seem to contain the flags I need.

Any other ideas?

Posted by mikshaw on Aug. 24 2006,13:30
Oh...duuuuuh......

The coreutils.uci package contains the GNU version of install.  You can run it from the mounted uci, or you can copy just the /opt/coreutils/install file to some other location.

Posted by Novice on Aug. 25 2006,12:16
Did it, created a symbolic link in /usr/bin to it and renamed the existing link that pointed to /bin/busybox and got my 3rd party module to install (I think).  Thanks so much for your help!

All that's left now for me to do is to figure out how to create an image of what I've created... but DSL is installed on the HDD and searches haven't yet yielded a tutorial on doing this.  More than likely, I'll just have to document what I've done and redo it with the LiveCD and remaster.

Thanks again!

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.