[fpc-pascal]Linux - Graph unit?

Michael.VanCanneyt at Wisa.be Michael.VanCanneyt at Wisa.be
Wed Jun 2 21:54:18 CEST 2004


On Wed, 2 Jun 2004, Jeff Weeks wrote:

> Thank you guys!  You're very helpful!
> 
> I downloaded the rpm and typed:
> 
> #rpm -i svgalib-1.4.1-2.src.rpm
> 
> I don't think this is how this type of RPM gets installed.... it's a 
> "source" RPM I take it?
> 
> It didn't give any errors but didn't fix my compile problem, either.
> 
> Sorry for asking a Linux question.... but is there a right way to get 
> the graphics library installed?

This is already 1 step. The second step is installing the svgalib-devel
package. Alternatively, install a symbolic link to it:

cd /usr/lib 
ln -s libvga.so.x.y.z libvga.so

replace x.y.z with the actual version number.

Michael.

> 
> Thanks, again.
> 
> Jeff
> 
> ps.  BTW, we're eventually converting a DOS-based Turbo Pascal program. 
>   This program is used by scientists all over the world.  They will LOVE 
> to upgrade to Linux!
> 
> On Jun 2, 2004, at 11:31 AM, Olaf Leidinger wrote:
> 
> > Hello!
> >
> >> The following happened while compiling the maze example application.
> >> Do I need to compile this from a graphical terminal?  I was using SSH.
> > This is no problem at all. But you must run it on a local machine in a
> > terminal (not from X)
> >
> >> Or am I missing something?
> > Yes, you need libsvga (package name maybe svgalib) installed.
> >
> >> /usr/bin/ld: cannot find -lvga
> >> maze.pp(508) Error: Error while linking
> >
> > Ciao,
> >
> > Olaf
> >
> >
> > _______________________________________________
> > fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> > http://lists.freepascal.org/mailman/listinfo/fpc-pascal
> 
> 
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
> 




More information about the fpc-pascal mailing list