Re: lug-bg: pngconf.h Error
- Subject: Re: lug-bg: pngconf.h Error
- From: Ясен Дърво <malwkgad@xxxxxxxxxxx>
- Date: 25 Oct 2003 01:39:48 +0300
Blagoadrq za barziq otgovor! Beshe absoliutno prav, qvno az veche
otkacham ta ne sgrqh navreme kakvo e vsashtnost tova:)) versiqtqa na
libpng e 1.2.5 - onazi koqto e poslednata stable koqto moje da se
iztegli ot www.gnu.org - naloji se da q install zashtoto paketa na slack
ne sadarja png-config (libpng-1.2.5.tar.bz2)
zakomentirah 255 i 256 redove i vsichko si tragna kompilira si se i
prochee.
Predhodnata versiq na png koqto imashe na sistemata e 1.2.1 no imenno
pri neq sashto vaznikvashe sashtiq problem i za tova i instalirah po
novata versiq:)
Nakraq iskam da spodelq che podobni shegi sa dosta kovarni v smisal che
chovek koito i ideq si nqma ot tova kakvo vsashnost stava kogato se
kompilira programata shte izpita golemi zatrudneniq, a ne mislq che tova
e ideqta pri razprostranenie na svobodniq software!
oshte vednaj blagodarq
На пт, 2003-10-24 в 23:21, George Danchev записа:
> On Friday 24 October 2003 22:27, Ясен Дърво wrote:
> > Zdraveite grupa
> >
> > Opitvaiki se da kompiliram Idesk se nataknah na sledniq problem, koito
> > pri prednoto kompilirane ( na sashtata mashina sys syshtite biblioteki i
> > headers ) ne vyznikvashe. Chudq se dali az neshto sam omazal ili.. v
> > smisal che pri sashtiq paket i sashtite usloviq na sredata kompilraciqta
> > protichashe dobre i si polzvah programcheto .. eto i greshkata
> >
> >
> >
> > malwk-gad@darkstar:/opt/usr/src/idesk-0.3.5$ make
> > g++ -g -O2 -c Desk.cc -o Desk.o
> > In file included from /usr/include/png.h:332,
> > from Desk.h:11,
> > from Desk.cc:1:
> > /usr/include/pngconf.h:255: syntax error before `.'
> > /usr/include/pngconf.h:256: syntax error before `it'
> > make: *** [Desk.o] Error 1
> > ===================================================================
> > eto go i asmiq file pngconf.h
> >
> > ........................................248
> > # ifdef __linux__
> > # ifdef _BSD_SOURCE
> > # define PNG_SAVE_BSD_SOURCE
> > # undef _BSD_SOURCE
> > # endif
> > # ifdef _SETJMP_H
>
> sledvat symnitelnite 255 i 256 rows:
>
> > __png.h__ already includes setjmp.h;
> > __dont__ include it again.;
>
> hmm, mnogo interesno... taka kato gledam gornite dva reda nqmat nisto obsto s
> kojto i da bilo programen ezik... tova si e 4ist komentar spored men, taka 4e
> komentiraj gi (ako pro4etesh komentara predi tozi block code, ste vidish 4e
> celiq block e izlishen i za komentvane;-)... Ot koq versiq na bibliotekata e
> tozi pngconf.h, vizh kak e v prednata. Tova e mnogo symnitelno kato code,
> samo 'include' e klu4ova duma v tiq dva reda ;-)
>
> > # endif
> > # endif /* __linux__ */
> >
> > /* include setjmp.h for error handling */
> > # include <setjmp.h>
>
> ej gledaj go kakvo pravi ... nested incluces za da ti izkara syobstenie s
> gornata divota s dvata reda e 4e Desk.h ili Desk.cc ili /usr/include/
> pngconf.h 4eve vklu4vat setjmp.h... tozi red # include <setjmp.h> napravo go
> komentiraj v edin ot gornite Desk.* files ot source-a na idesk. Az ne sym go
> gledal sega de, no tova e naj-veroqtnata pri4ina kato gledam.
>
> > ........................................262
> >
> > opitah da izteglq i instalirah nanovo libpng v koito paket se sadarja
> > pngconf.h no ne pomogna - vse sashtata greshka. Vwzmojno e i greshkata
> > izobshto da ne e tam no ne razbiram chak tolkova. nqkoi moje li da mi
> > pomogne?
> > shte sam bezkraino blagodaren
>
> Ina4e bih se usymnil vyv versiqta na kompila (g++), t.e. 4e noviq kompil
> zasi4a syntax error v code-to, koqto starata versiq na kompila prostava, no
> ne tova e case tuka... maj developers na libpng se opitvat da debug-vat
> software-tata koito go vklu4vat i link-vat po dosta stranen na4in i 4uvstvo
> za humor;-)
>
> --
> pub 4096R/0E4BD0AB 2003-03-18 <keyserver.bu.edu>
> 1AE7 7C66 0A26 5BFF DF22 5D55 1C57 0C89 0E4B D0AB
>
> ============================================================================
> A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
> http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
> To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
> ============================================================================
============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================
|