Datuve :: Forums :: Arhīvs :: GD 2.x uz OpenBSD 3.8 - Nav tāda porta, noportēt nemāku !

Datuve

Mana Datuve

Reģistrācija | Noteikumi | Paroles atjaunošana



Forums

Ieskaties


Raksti

Lietotāji online

Lietotāji online: 65

Reģistrētie lietotāji online: 0

Viesi online: 65

Datuve.lv video
Top.LV

GD 2.x uz OpenBSD 3.8 - Nav tāda porta, noportēt nemāku !

Ievietoja: MIGs @ 2006.01.15 16:15  

Radās vajadzība uz vienas kastes dabūt GD 2.x  no http://www.boutell.com/gd/ taču OpenBSD pakas/porti ir tikai 1.8.x versijām. Noportēt lai strādātu uz OpenBSD es arī nemāku, un nekad to neesmu darijis ! Vienkārši ./configure && make && make install nedarbojas !

[code]
Kāds brītiņš kautkas un beigās .......................


gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include/libpng/libpng -g -O2 -MT gd_png.lo -MD -MP -MF .deps/gd_png.Tpo -c gd_png.c  -fPIC -DPIC -o .libs/gd_png.lo
gd_png.c:15:67: png.h: No such file or directory
gd_png.c:46: error: syntax error before "jmp_buf"
gd_png.c:53: error: syntax error before "png_ptr"
gd_png.c: In function `gdPngErrorHandler':
gd_png.c:66: error: `msg' undeclared (first use in this function)
gd_png.c:66: error: (Each undeclared identifier is reported only once
gd_png.c:66: error: for each function it appears in.)
gd_png.c:69: error: `png_ptr' undeclared (first use in this function)
gd_png.c:69: warning: assignment makes pointer from integer without a cast
gd_png.c:78: error: structure has no member named `jmpbuf'
gd_png.c: At top level:
gd_png.c:83: error: syntax error before "png_ptr"
gd_png.c: In function `gdPngReadData':
gd_png.c:85: error: `data' undeclared (first use in this function)
gd_png.c:85: error: `length' undeclared (first use in this function)
gd_png.c:85: error: `png_ptr' undeclared (first use in this function)
gd_png.c: At top level:
gd_png.c:89: error: syntax error before "png_ptr"
gd_png.c: In function `gdPngWriteData':
gd_png.c:91: error: `data' undeclared (first use in this function)
gd_png.c:91: error: `length' undeclared (first use in this function)
gd_png.c:91: error: `png_ptr' undeclared (first use in this function)
gd_png.c: At top level:
gd_png.c:95: error: syntax error before "png_ptr"
gd_png.c: In function `gdImageCreateFromPngCtx':
gd_png.c:122: error: syntax error before "sig"
gd_png.c:128: error: syntax error before "palette"
gd_png.c:145: error: `sig' undeclared (first use in this function)
gd_png.c:150: error: `png_ptr' undeclared (first use in this function)
gd_png.c:150: error: `PNG_LIBPNG_VER_STRING' undeclared (first use in this function)
gd_png.c:161: error: `info_ptr' undeclared (first use in this function)
gd_png.c:176: error: structure has no member named `jmpbuf'
gd_png.c:189: error: `width' undeclared (first use in this function)
gd_png.c:189: error: `height' undeclared (first use in this function)
gd_png.c:191: error: `PNG_COLOR_TYPE_RGB' undeclared (first use in this function)
gd_png.c:192: error: `PNG_COLOR_TYPE_RGB_ALPHA' undeclared (first use in this function)
gd_png.c:204: error: `image_data' undeclared (first use in this function)
gd_png.c:205: error: `row_pointers' undeclared (first use in this function)
gd_png.c:215: error: `PNG_COLOR_TYPE_PALETTE' undeclared (first use in this function)
gd_png.c:216: error: `palette' undeclared (first use in this function)
gd_png.c:221: error: `PNG_INFO_tRNS' undeclared (first use in this function)
gd_png.c:229: error: `trans' undeclared (first use in this function)
gd_png.c:243: error: `PNG_COLOR_TYPE_GRAY' undeclared (first use in this function)
gd_png.c:244: error: `PNG_COLOR_TYPE_GRAY_ALPHA' undeclared (first use in this function)
gd_png.c:247: error: `png_colorp' undeclared (first use in this function)
gd_png.c:247: error: syntax error before "gdMalloc"
gd_png.c:273: error: `trans_gray_rgb' undeclared (first use in this function)
gd_png.c:291: error: case label not within a switch statement
gd_png.c:292: error: case label not within a switch statement
gd_png.c:298: error: `trans_color_rgb' undeclared (first use in this function)
gd_png.c:289: error: break statement not within loop or switch
gd_png.c:308: error: break statement not within loop or switch
gd_png.c: At top level:
gd_png.c:311: warning: parameter names (without types) in function declaration
gd_png.c:311: warning: data definition has no type or storage class
gd_png.c:314: error: `png_ptr' undeclared here (not in a function)
gd_png.c:314: error: `info_ptr' undeclared here (not in a function)
gd_png.c:314: error: initializer element is not constant
gd_png.c:314: warning: data definition has no type or storage class
gd_png.c:315: error: syntax error before "if"
gd_png.c:12:1: unterminated #ifdef
*** Error code 1

Stop in /usr/ports/graphics/gd-2.0.33.
*** Error code 1

Stop in /usr/ports/graphics/gd-2.0.33 (line 659 of Makefile).
*** Error code 1

Stop in /usr/ports/graphics/gd-2.0.33 (line 327 of Makefile).
#                                                                                      
[/code]

Nogooglējies esmu līks, pārlasīti neskaitāmi forumi, mailinglistes, un manuāļi !

Varbūt kādam ir kāds padoms lietas sakarā ?!