On 6/18/07, Georgina Joyce <[EMAIL PROTECTED]> wrote: > Hi All > > I attempted to install ncftp as instructed by SVN 15 June 07. On a lfs > system using SVN 15 June 07, i.e. glibc 2.5 and gcc 4.1.2. However, the > ncftp version has been updated on www.ncftp.com/ncftp so I attempted to use > the instructions to the new version as well as the older version I had from > last year. During the configure ncftp complained that there was no such file > as /bin/rm. So I tried --bindir=/usr/bin along with the prefix instruction. > It still came up with the same problem. I googled but didn't find anything > so I simply put a symlink in /bin to /usr/bin/ which fixed that issue. > However it also looked for ls and ln so I did the same for them too. > > Great I got it compiled and installed! Or so I thought. No, it put it in > /usr. Not sure where the libraries were placed but I moved the files from > /usr to /usr/bin. Thus I'm left with a few questions: > > As the paths in the new system appear to be OK, have I left out some step > along the way? > > What configure switch might have given the correct pointer to the rm ls and > ln programs? > > I noted that the configure script also complained about some flags not being > set, where do I find some examples of setting such flags such as, CC CPPFLAGS > etc? > > Here's the output: (Whoops, it appears I've copied over the successful > output). > <snip> > Gena > > Amateur Call: M 0 E B P > > VOIP / IM: gena1959uk >
It seems all quite buggy.... The configure script should have detected where the rm program exists, and shouldn't look for a standard location /bin/rm Are you sure you didn't specify --bindir=/usr on the configure line? the --prefix=/usr option should be enough to force binaries to install in /usr/bin, if not, then use --bindir=/usr/bin, and that should install the binaries correct :) Those flags are optional, they are probably only of use when you have more than one compiler installed, so that you can specify which compiler needs to be used by setting the CC flag to that compiler, the CPPFLAGS (and CFLAGS, LDFLAGS) are probably only of use if you want A) Create special programs, for example with debug information, or completely stripped down to minimal size b) Optimisation of the compiling process, as new CPUs can use technologies as MMX, SSE, SSE2 and SSE3 to speed up things Tijnema -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
