[Date Prev] [Date Next] [Thread Prev] [Thread Next] Date Index Thread Index Search archive:
Date:Mon Apr 16 15:27:35 2003 
Subject:Re: cannot find -ltermcap 
From:ug57dsm 
Volume-ID:1030416.01 

Aaron Sloman wrote:
  > [snip]
> Does this command run without error:
> 
> 
> 	/usr/local/poplog/v15.53a/pop/pop/basepop11
> 
> If so, edit the file
> 	INSTALL_MOTIF_POPLOG
> to omit these lines:
> 
> 
>     ##### START of bit that may not work on Mandrake and some other systems
>     ### Comment out the next few commands (up to ##### END) if you are
>     ### running mandrake and installation does not work
> 
>     echo "relinking -- using $popsys/poplink_cmnd"
> 
>     cd $popsys
>         ./poplink_cmnd
> 
>     echo "checking for newpop11"
> 
>     ls -l newpop11
> 
>     if ( -f newpop11 ) then
>         echo "copying newpop11 to basepop11"
>         cp newpop11 basepop11
>         rm newpop11
>     else
>         echo "COULD NOT LINK NEWPOP11:"
>         echo "Try commenting out poplink_cmnd"
>         echo "OR"
>         echo "Try asking for help via comp.lang.pop or pop-forum AT cs.bham.ac.uk"
>         exit
>     endif
> 	##### END of bit that may not work on Mandrake
> 
> if that does not work, maybe someone else with more specific knowledge
> will be able to help.
> 
> Aaron
> 


Thanks for that, Aaron... you pointed me in the right direction, I
started by looking at what this bit of code was doing:
  >     cd $popsys
  >         ./poplink_cmnd

Then I tried to edit poplink_cmnd to fix the error (by including
-I/usr/lib/termcap), but soon enough I found out that the file gets
overwritten every time I run INSTALL_MOTIF_POPLOG, So I created a link
from /usr/lib/termcap/libtermcap.a to /usr/lib/libtermcap.a in order for
gcc to find the file, now it works.

Probably you should add that bit of advise in the readme files for
SuSE... :)

Thanks for the help again,

Dave.

-- 
=================================================
   The future of HTML mail is clearly > /dev/null.
               It's GNU/Linux, damnit!
=================================================