Hallo Leute,
gestern habe ich versucht, den Browser dillo auf meinem Macbook zu installieren. Beim Befehl make kommt dann folgende Meldung:
make all-recursive
Making all in lout
make[2]: Nothing to be done for `all'.
Making all in dw
make[2]: Nothing to be done for `all'.
Making all in dlib
make[2]: Nothing to be done for `all'.
Making all in dpip
make[2]: Nothing to be done for `all'.
Making all in src
Making all in IO
make[3]: Nothing to be done for `all'.
gcc -DHAVE_CONFIG_H -I. -I.. -DDILLO_SYSCONF='"/usr/local/etc/dillo/"' -DDILLO_DOCDIR='"/usr/local/share/doc/dillo/"' -I/usr/local/include -I/usr/X11/include/libpng12 -g -O2 -DD_DNS_THREADED -D_REENTRANT -D_THREAD_SAFE -Wall -W -Waggregate-return -MT png.o -MD -MP -MF .deps/png.Tpo -c -o png.o png.c
png.c:21:17: error: png.h: No such file or directory
png.c:70: error: syntax error before ‘png_structp’
png.c:70: warning: no semicolon at end of struct or union
png.c:71: warning: type defaults to ‘int’ in declaration of ‘info_ptr’
png.c:71: warning: data definition has no type or storage class
png.c:74: error: syntax error before ‘jmpbuf’
png.c:74: warning: type defaults to ‘int’ in declaration of ‘jmpbuf’
png.c:74: warning: data definition has no type or storage class
png.c:76: error: syntax error before ‘previous_row’
png.c:76: warning: type defaults to ‘int’ in declaration of ‘previous_row’
png.c:76: warning: data definition has no type or storage class
png.c:98: error: syntax error before ‘}’ token
png.c:98: warning: type defaults to ‘int’ in declaration of ‘DilloPng’
png.c:98: warning: data definition has no type or storage class
png.c:106: error: syntax error before ‘png_ptr’
png.c: In function ‘Png_error_handling’:
png.c:108: error: ‘png’ undeclared (first use in this function)
png.c:108: error: (Each undeclared identifier is reported only once
png.c:108: error: for each function it appears in.)
png.c:110: error: ‘msg’ undeclared (first use in this function)
png.c:111: warning: implicit declaration of function ‘png_get_error_ptr’
png.c:111: error: ‘png_ptr’ undeclared (first use in this function)
png.c:116: warning: implicit declaration of function ‘longjmp’
png.c: At top level:
png.c:120: error: syntax error before ‘png_ptr’
png.c: In function ‘Png_datainfo_callback’:
png.c:122: error: ‘png’ undeclared (first use in this function)
png.c:131: warning: implicit declaration of function ‘png_get_progressive_ptr’
png.c:131: error: ‘png_ptr’ undeclared (first use in this function)
png.c:134: warning: implicit declaration of function ‘png_get_IHDR’
png.c:151: error: ‘PNG_COLOR_TYPE_PALETTE’ undeclared (first use in this function)
png.c:153: warning: implicit declaration of function ‘png_set_expand’
png.c:154: error: ‘PNG_COLOR_TYPE_GRAY’ undeclared (first use in this function)
png.c:157: warning: implicit declaration of function ‘png_get_valid’
png.c:157: error: ‘PNG_INFO_tRNS’ undeclared (first use in this function)
png.c:165: warning: implicit declaration of function ‘png_set_strip_16’
png.c:171: warning: implicit declaration of function ‘png_get_gAMA’
png.c:172: warning: implicit declaration of function ‘png_set_gamma’
png.c:176: error: ‘PNG_COLOR_TYPE_GRAY_ALPHA’ undeclared (first use in this function)
png.c:177: warning: implicit declaration of function ‘png_set_gray_to_rgb’
png.c:181: error: ‘PNG_INTERLACE_NONE’ undeclared (first use in this function)
png.c:182: warning: implicit declaration of function ‘png_set_interlace_handling’
png.c:186: warning: implicit declaration of function ‘png_read_update_info’
png.c:191: warning: implicit declaration of function ‘png_get_rowbytes’
png.c:192: warning: implicit declaration of function ‘png_get_channels’
png.c: At top level:
png.c:215: error: syntax error before ‘png_ptr’
png.c: In function ‘Png_datarow_callback’:
png.c:218: error: ‘png’ undeclared (first use in this function)
png.c:221: error: ‘new_row’ undeclared (first use in this function)
png.c:226: error: ‘png_ptr’ undeclared (first use in this function)
png.c:228: warning: implicit declaration of function ‘png_progressive_combine_row’
png.c:228: error: ‘row_num’ undeclared (first use in this function)
png.c:270: warning: implicit declaration of function ‘png_composite’
png.c:280: error: ‘pass’ undeclared (first use in this function)
png.c: At top level:
png.c:286: error: syntax error before ‘png_ptr’
png.c: In function ‘Png_dataend_callback’:
png.c:288: error: ‘png’ undeclared (first use in this function)
png.c:294: error: ‘png_ptr’ undeclared (first use in this function)
png.c: At top level:
png.c:301: error: syntax error before ‘*’ token
png.c: In function ‘Png_free’:
png.c:305: error: ‘png’ undeclared (first use in this function)
png.c:308: warning: implicit declaration of function ‘setjmp’
png.c:311: warning: implicit declaration of function ‘png_destroy_read_struct’
png.c: At top level:
png.c:318: error: syntax error before ‘*’ token
png.c: In function ‘Png_close’:
png.c:322: error: ‘png’ undeclared (first use in this function)
png.c:322: error: ‘Client’ undeclared (first use in this function)
png.c: At top level:
png.c:329: error: syntax error before ‘*’ token
png.c: In function ‘Png_write’:
png.c:331: error: ‘Buf’ undeclared (first use in this function)
png.c:331: error: ‘BufSize’ undeclared (first use in this function)
png.c:335: error: ‘png’ undeclared (first use in this function)
png.c:348: warning: implicit declaration of function ‘png_check_sig’
png.c:355: warning: implicit declaration of function ‘png_create_read_struct’
png.c:356: error: ‘PNG_LIBPNG_VER_STRING’ undeclared (first use in this function)
png.c:358: error: ‘png_error_ptr’ undeclared (first use in this function)
png.c:358: error: syntax error before ‘Png_error_handling’
png.c:361: warning: implicit declaration of function ‘png_create_info_struct’
png.c:366: warning: implicit declaration of function ‘png_set_progressive_read_fn’
png.c:380: warning: implicit declaration of function ‘png_process_data’
png.c:383: error: ‘png_size_t’ undeclared (first use in this function)
png.c: In function ‘a_Png_new’:
png.c:436: error: ‘png’ undeclared (first use in this function)
png.c:436: error: syntax error before ‘)’ token
make[3]: *** [png.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
users-macbook:dillo-2.2 user$
users-macbook:dillo-2.2 user$
Vielleicht könnt Ihr mir sagen, was ich da machen muss, damit make diese Fehlermeldungen nicht mehr bringt und fehlerfrei durchläuft.
Viele Grüße
miraculix926
Alternative Betriebssysteme 1.414 Themen, 9.991 Beiträge
Naja, es fehlt Dir eben die Headerdatei png.h. Diese solltest Du dorthin kopieren,wo sie erwartet wird. Hast Du auch bezüglich fltk2 einen make install aufgerufen?
Unter meiner openSuSE 11.0 hat der Compile als auch die Installation von fltk2 und dillo auf Anhieb geklappt.
Bei mir gibt es die png.h an folgenden Stellen:
./home/Software/Source/fltk-2.0.x-r7513/images/libpng/png.h (Source von fltk2)
./usr/include/png.h
./usr/include/libpng12/png.h
http://ivw.nickles.de/user/images/10913/dillo_compile.png
und so sieht die Startseit von nickles.de im dillo aus, da kein Javascript vorhanden.
Ansonsten ist es schon ein sehr schlanker und auch stabiler Browser, eben für Rechner mit wenig Leistung sehr gut geeignet.
http://ivw.nickles.de/user/images/10913/nickles.de_dillo.png