LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-07-2008, 12:38 PM   #1
lengyue
Member
 
Registered: Aug 2008
Posts: 31

Rep: Reputation: 15
install pgplot on Red Hat 3.4.3-9.EL4


Recently, I need install PGPLOT on my laptop, the version of my Linux is:
***********************************************************************
Linux version 2.6.9-5.EL (bhcompile@decompose.build.redhat.com) (gcc version 3.4.3 20041212 (Red Hat 3.4.3-9.EL4)) #1 Wed Jan 5 19:22:18 EST 2005
***********************************************************************

Execute the following, as super-user (su) :
***********************************************************************

cp pgplot5.2.tar.gz /usr/local/src

cd /usr/local/src # directory for the sources

tar -zxvf pgplot5.2.tar.gz

cd pgplot

mkdir /usr/local/pgplot # create the directory for the binaries and font files

cd /usr/local/pgplot

cp /usr/local/src/pgplot/drivers.list .

vi drivers.list & # select (by removing the ! sign) the drivers to be
# used for pgplot outputs: typically:
# PNDRIV 1,2 : PNG figures
# PSDRIV 1,2,3,4 : EPS figures
# XWDRIV 1,2 : X-window output

/usr/local/src/pgplot/makemake /usr/local/src/pgplot linux g77_gcc
make
***********************************************************************
After I make, there is an errors about "png.h":
[root@localhost pgplot]# make
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgarro.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgask.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgaxis.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgaxlg.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgband.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgbbuf.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgbeg.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgbin.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgbox.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgbox1.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgcirc.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgcl.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgclos.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgcn01.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgcnsc.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgconb.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgconf.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgconl.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgcons.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgcont.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgconx.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgcp.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgctab.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgcurs.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgdraw.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgebuf.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgend.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgenv.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgeras.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgerr1.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgerrb.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgerrx.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgerry.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgetxt.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgfunt.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgfunx.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgfuny.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pggray.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pghi2d.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pghis1.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pghist.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pghtch.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgiden.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgimag.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pginit.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pglab.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pglcur.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgldev.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pglen.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgline.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgmove.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgmtxt.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgncur.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgnoto.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgnpl.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgnumb.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgolin.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgopen.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgpage.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgpanl.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgpap.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgpixl.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgpnts.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgpoly.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgpt.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgpt1.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgptxt.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgqah.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgqcf.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgqch.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgqci.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgqcir.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgqclp.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgqcol.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgqcr.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgqcs.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgqdt.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgqfs.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgqhs.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgqid.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgqinf.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgqitf.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgqls.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgqlw.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgqndt.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgqpos.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgqtbg.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgqtxt.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgqvp.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgqvsz.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgqwin.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgrect.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgrnd.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgrnge.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgsah.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgsave.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgscf.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgsch.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgsci.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgscir.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgsclp.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgscr.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgscrl.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgscrn.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgsfs.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgshls.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgshs.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgsitf.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgslct.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgsls.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgslw.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgstbg.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgsubp.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgsvp.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgswin.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgtbox.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgtext.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgtick.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgtikl.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgupdt.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgvect.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgvsiz.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgvstd.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgvw.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgwedg.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgwnad.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgadvance.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgbegin.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgcurse.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pglabel.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgmtext.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgncurse.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgpaper.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgpoint.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgptext.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgvport.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgvsize.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgvstand.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/pgwindow.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/grarea.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/grbpic.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/grchsz.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/grclip.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/grclos.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/grclpl.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/grctoi.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/grcurs.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/grdot0.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/grdot1.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/grdtyp.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/gresc.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/grepic.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/gretxt.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/grfa.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/grfao.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/grgfil.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/grgray.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/grimg0.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/grimg1.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/grimg2.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/grimg3.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/grinit.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/gritoc.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/grlen.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/grlin0.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/grlin1.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/grlin2.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/grlin3.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/grlina.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/grmcur.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/grmker.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/grmova.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/grmsg.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/gropen.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/grpage.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/grpars.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/grpixl.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/grpocl.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/grprom.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/grpxpo.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/grpxps.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/grpxpx.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/grpxre.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/grqcap.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/grqci.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/grqcol.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/grqcr.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/grqdev.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/grqdt.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/grqfnt.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/grqls.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/grqlw.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/grqpos.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/grqtxt.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/grqtyp.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/grquit.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/grrec0.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/grrect.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/grsci.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/grscr.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/grscrl.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/grsetc.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/grsets.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/grsfnt.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/grsize.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/grskpb.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/grslct.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/grsls.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/grslw.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/grsyds.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/grsymk.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/grsyxd.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/grterm.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/grtext.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/grtoup.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/grtrim.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/grtrn0.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/grtxy0.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/grvct0.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/grwarn.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/grxhls.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/src/grxrgb.f
g77 -c -u -Wall -fPIC -O grexec.f
g77 -c -u -Wall -fPIC -O /usr/local/src/pgplot/drivers/nudriv.f
make: *** No rule to make target `png.h', needed by `pndriv.o'. Stop.

Can you help me figure out it? Thanks!
 
Old 09-07-2008, 05:18 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2020 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,393

Rep: Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607
Quote:
make: *** No rule to make target `png.h'
Installing 'libpng-devel' should do.

Regards
 
Old 09-08-2008, 02:59 PM   #3
lengyue
Member
 
Registered: Aug 2008
Posts: 31

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by knudfl View Post
Installing 'libpng-devel' should do.

Regards
Thanks,I have installed 'libpng-devel' as follow:
[root@localhost Desktop]# rpm -ivh libpng-1.2.7-1.src.rpm
warning: libpng-1.2.7-1.src.rpm: V3 DSA signature: NOKEY, key ID db42a60e
1:libpng ########################################### [100%]

maybe I installed the 'libpng-devel' unsuccessfully, because the same error appeared :
g77 -c -u -Wall -fPIC -O grexec.f
make: *** No rule to make target `png.h', needed by `pndriv.o'. Stop.

Do you know how to installed 'libpng-devel' correctly, Thank a lot!
 
Old 09-09-2008, 04:59 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2020 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,393

Rep: Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607
Sorry, wrong package : first, the word -devel is missing,
second : what you got is source code for "png", see the
suffix: no .rpm but .src.rpm. (To be build with 'rpm-build')

I guess, you have no redhat licence, else please get the
package from RH.

With some experience, you will be able to set up a
repository and use 'yum' to download and install the
correct Cent OS package.

'rpm -qa | grep png' will tell, which png is installed.
Find the png-devel at http://rpm.pbone.net/index.php3
Please use "Advanced Search"

Example : libpng-devel-1.2.2-28.i386.rpm
http://rpm.pbone.net/index.php3/stat....i386.rpm.html

Regards

Last edited by knudfl; 09-09-2008 at 06:13 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
During Red Hat Linux 9 install: error "No devices found to install Red Hat Linux" rbradtx Linux - Newbie 11 06-25-2010 05:55 PM
can i upgrade the red hat EL4 ES kernel to AS Kernel without upgrading the whole OS? oreaba Linux - Newbie 6 08-19-2008 03:08 PM
Red Hat EL4 changes the case of file names sporks Red Hat 3 09-05-2007 06:03 PM
Problem after installation of Red Hat EL4 liknocks Linux - General 2 08-30-2005 01:57 PM
Red Hat EL4 vs. SuSE ES 9 dumbsheep Linux - Software 3 07-13-2005 07:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration