Warren: Have you checked what the man pages of the loaded applications do? What does fpcmake do? Nick
Warren Post <[EMAIL PROTECTED]> wrote: >El dom, 25-08-2002 a las 16:45, dfox escribió: >> > I've read the man page, the readme, the faq, and the freepascal.org >> > site, but everything takes for granted that the compiler will work after >> > installing the rpm. Any ideas on what I might be doing wrong? >> >> One would expect that 'fpc' is indeed installed somewhere, perhaps >> /usr/bin, with the other support files somewhere else (/usr/share/fpc >> or someplace like that). Can you verify that 'fpc' is in /usr/bin? > >It is not, nor is a file named fpc anywhere else, as 'find' shows: > >[root@gerencia warren]# find / -name fpc >find: /mnt/floppy: Input/output error >find: /mnt/cdrom: Input/output error >/usr/lib/fpc > >(The last entry being a directory, not a file. fpc isn't in there, >either.) > >Nor does the rpm package I installed contain a file named fpc that is >supposed to go to /usr/bin/: > >[root@gerencia warren]# rpm -ql fpc-1.0.4-2mdk | grep /bin/ >/usr/bin/bin2obj >/usr/bin/data2inc >/usr/bin/delp >/usr/bin/fd2pascal >/usr/bin/fpcmake >/usr/bin/fprcp >/usr/bin/h2pas >/usr/bin/plex >/usr/bin/postw32 >/usr/bin/ppdep >/usr/bin/ppudump >/usr/bin/ppufiles >/usr/bin/ppumove >/usr/bin/ptop >/usr/bin/pyacc >/usr/bin/rstconv > >> There are probably three possibilities: >> >> /usr/bin not in PATH - but I find that highly unlikely... > >/usr/bin/ is in my path: > >[warren@gerencia warren]$ env >(snip) >PATH=/bin:/usr/bin:...(snip) > >> It could be that the installation directory is >> not in your path, or the install is broken in some respect (i.e., by >> not placing the compiler binary or at least a link to it in /usr/bin). >That's what I'm wondering. How is this rpm supposed to give me a working >compiler if it doesn't contain a file named fpc? > >> you installed the source rpm by mistake, so you'd have to compile it, >> but that doesn't seem that likely. Did the filename end in src.rpm? > >No, it is fpc-1.0.4-2mdk.i586.rpm, from LM 8.1 CD3. > >> At any rate, typing 'rehash' at the command prompt (or exit & relogin) >> might actually work. It can't hurt. > >No change after exit and relogin. > >Warren > > > -- nickE __________________________________________________________________ Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with Shop@Netscape! http://shopnow.netscape.com/ Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com