I've tried again and i think this is where the errors started in the installation. Please for give the length of this:
x11_w3mimg.c:11:22: error: X11/Xlib.h: No such file or directory x11_w3mimg.c:12:23: error: X11/Xutil.h: No such file or directory In file included from x11_w3mimg.c:13: /sw/include/Imlib2.h:108: error: parse error before '*' token /sw/include/Imlib2.h:109: error: parse error before '*' token /sw/include/Imlib2.h:110: error: parse error before 'colormap' /sw/include/Imlib2.h:111: error: parse error before 'drawable' /sw/include/Imlib2.h:112: error: parse error before 'mask' /sw/include/Imlib2.h:137: error: parse error before '*' token /sw/include/Imlib2.h:137: warning: data definition has no type or storage class /sw/include/Imlib2.h:138: error: parse error before '*' token /sw/include/Imlib2.h:138: warning: data definition has no type or storage class /sw/include/Imlib2.h:139: error: parse error before 'imlib_context_get_colormap' /sw/include/Imlib2.h:139: warning: data definition has no type or storage class /sw/include/Imlib2.h:140: error: parse error before 'imlib_context_get_drawable' /sw/include/Imlib2.h:140: warning: data definition has no type or storage class /sw/include/Imlib2.h:141: error: parse error before 'imlib_context_get_mask' /sw/include/Imlib2.h:141: warning: data definition has no type or storage class /sw/include/Imlib2.h:170: error: parse error before '*' token /sw/include/Imlib2.h:171: error: parse error before '*' token /sw/include/Imlib2.h:171: error: parse error before '*' token /sw/include/Imlib2.h:172: warning: data definition has no type or storage class /sw/include/Imlib2.h:209: error: parse error before '*' token /sw/include/Imlib2.h:211: error: parse error before '*' token /sw/include/Imlib2.h:214: error: parse error before 'pixmap' /sw/include/Imlib2.h:240: error: parse error before 'mask' /sw/include/Imlib2.h:243: error: parse error before '*' token /sw/include/Imlib2.h:246: error: parse error before 'mask' /sw/include/Imlib2.h:256: error: parse error before 'mask' x11_w3mimg.c:32: error: parse error before 'Display' x11_w3mimg.c:32: warning: no semicolon at end of struct or union x11_w3mimg.c:33: warning: data definition has no type or storage class x11_w3mimg.c:35: error: parse error before 'imageGC' x11_w3mimg.c:35: warning: data definition has no type or storage class x11_w3mimg.c: In function 'x11_init': x11_w3mimg.c:141: error: dereferencing pointer to incomplete type x11_w3mimg.c:142: error: dereferencing pointer to incomplete type x11_w3mimg.c:142: error: dereferencing pointer to incomplete type x11_w3mimg.c:142: error: dereferencing pointer to incomplete type x11_w3mimg.c:143: error: dereferencing pointer to incomplete type x11_w3mimg.c: In function 'x11_finish': x11_w3mimg.c:158: error: dereferencing pointer to incomplete type x11_w3mimg.c:159: error: dereferencing pointer to incomplete type x11_w3mimg.c:159: error: dereferencing pointer to incomplete type x11_w3mimg.c:160: error: dereferencing pointer to incomplete type x11_w3mimg.c: In function 'x11_clear': x11_w3mimg.c:180: error: dereferencing pointer to incomplete type x11_w3mimg.c:180: error: dereferencing pointer to incomplete type x11_w3mimg.c:180: error: 'False' undeclared (first use in this function) x11_w3mimg.c:180: error: (Each undeclared identifier is reported only once x11_w3mimg.c:180: error: for each function it appears in.) x11_w3mimg.c: In function 'x11_active': x11_w3mimg.c:193: error: dereferencing pointer to incomplete type x11_w3mimg.c: In function 'x11_set_background': x11_w3mimg.c:201: error: 'XColor' undeclared (first use in this function) x11_w3mimg.c:201: error: parse error before 'screen_def' x11_w3mimg.c:210: error: dereferencing pointer to incomplete type x11_w3mimg.c:210: error: dereferencing pointer to incomplete type x11_w3mimg.c:211: error: 'screen_def' undeclared (first use in this function) x11_w3mimg.c:211: error: 'exact_def' undeclared (first use in this function) x11_w3mimg.c:212: error: dereferencing pointer to incomplete type x11_w3mimg.c:214: error: 'Pixmap' undeclared (first use in this function) x11_w3mimg.c:214: error: parse error before 'p' x11_w3mimg.c:215: error: 'GC' undeclared (first use in this function) x11_w3mimg.c:216: error: 'XImage' undeclared (first use in this function) x11_w3mimg.c:216: error: 'i' undeclared (first use in this function) x11_w3mimg.c:218: error: 'p' undeclared (first use in this function) x11_w3mimg.c:218: error: dereferencing pointer to incomplete type x11_w3mimg.c:218: error: dereferencing pointer to incomplete type x11_w3mimg.c:219: error: dereferencing pointer to incomplete type x11_w3mimg.c:220: error: 'gc' undeclared (first use in this function) x11_w3mimg.c:220: error: dereferencing pointer to incomplete type x11_w3mimg.c:220: error: dereferencing pointer to incomplete type x11_w3mimg.c:223: error: dereferencing pointer to incomplete type x11_w3mimg.c:223: error: dereferencing pointer to incomplete type x11_w3mimg.c:227: error: dereferencing pointer to incomplete type x11_w3mimg.c:227: error: 'ZPixmap' undeclared (first use in this function) x11_w3mimg.c:230: error: dereferencing pointer to incomplete type x11_w3mimg.c:232: error: dereferencing pointer to incomplete type x11_w3mimg.c:233: error: dereferencing pointer to incomplete type x11_w3mimg.c: In function 'x11_sync': x11_w3mimg.c:246: error: dereferencing pointer to incomplete type x11_w3mimg.c:246: error: 'False' undeclared (first use in this function) x11_w3mimg.c: In function 'x11_load_image': x11_w3mimg.c:377: error: dereferencing pointer to incomplete type x11_w3mimg.c:377: error: dereferencing pointer to incomplete type x11_w3mimg.c:378: error: dereferencing pointer to incomplete type x11_w3mimg.c:381: error: dereferencing pointer to incomplete type x11_w3mimg.c:381: error: dereferencing pointer to incomplete type x11_w3mimg.c:381: error: dereferencing pointer to incomplete type x11_w3mimg.c:382: error: dereferencing pointer to incomplete type x11_w3mimg.c:382: error: 'Pixmap' undeclared (first use in this function) x11_w3mimg.c:382: error: parse error before 'img' x11_w3mimg.c:383: error: dereferencing pointer to incomplete type x11_w3mimg.c:384: error: dereferencing pointer to incomplete type x11_w3mimg.c:385: error: dereferencing pointer to incomplete type x11_w3mimg.c:386: error: 'Drawable' undeclared (first use in this function) x11_w3mimg.c:386: error: parse error before 'img' x11_w3mimg.c: In function 'x11_show_image': x11_w3mimg.c:577: error: dereferencing pointer to incomplete type x11_w3mimg.c:577: error: 'Pixmap' undeclared (first use in this function) x11_w3mimg.c:577: error: parse error before 'img' x11_w3mimg.c: In function 'x11_free_image': x11_w3mimg.c:616: error: dereferencing pointer to incomplete type x11_w3mimg.c:616: error: 'Pixmap' undeclared (first use in this function) x11_w3mimg.c:616: error: parse error before 'img' x11_w3mimg.c: In function 'w3mimg_x11open': x11_w3mimg.c:750: error: 'XWindowAttributes' undeclared (first use in this function) x11_w3mimg.c:750: error: parse error before 'attr' x11_w3mimg.c:751: error: 'Window' undeclared (first use in this function) x11_w3mimg.c:758: error: invalid application of 'sizeof' to incomplete type 'struct x11_info' x11_w3mimg.c:761: error: invalid application of 'sizeof' to incomplete type 'struct x11_info' x11_w3mimg.c:763: error: dereferencing pointer to incomplete type x11_w3mimg.c:764: error: dereferencing pointer to incomplete type x11_w3mimg.c:768: error: dereferencing pointer to incomplete type x11_w3mimg.c:768: error: parse error before 'atoi' x11_w3mimg.c:771: error: dereferencing pointer to incomplete type x11_w3mimg.c:774: error: dereferencing pointer to incomplete type x11_w3mimg.c:774: error: dereferencing pointer to incomplete type x11_w3mimg.c:774: error: 'attr' undeclared (first use in this function) x11_w3mimg.c:779: error: parse error before 'p_window' x11_w3mimg.c:781: error: dereferencing pointer to incomplete type x11_w3mimg.c:781: error: dereferencing pointer to incomplete type x11_w3mimg.c:781: error: 'root' undeclared (first use in this function) x11_w3mimg.c:781: error: dereferencing pointer to incomplete type x11_w3mimg.c:782: error: 'children' undeclared (first use in this function) x11_w3mimg.c:783: error: 'p_window' undeclared (first use in this function) x11_w3mimg.c:783: error: dereferencing pointer to incomplete type x11_w3mimg.c:785: error: dereferencing pointer to incomplete type x11_w3mimg.c:791: error: dereferencing pointer to incomplete type x11_w3mimg.c:794: error: dereferencing pointer to incomplete type x11_w3mimg.c:799: error: dereferencing pointer to incomplete type make[2]: *** [x11_w3mimg.o] Error 1 make[1]: *** [x11] Error 2 make: *** [w3mimg] Error 2 ### execution of make failed, exit code 2 Removing runtime build-lock... Removing build-lock package... /sw/bin/dpkg-lockwait -r fink-buildlock-w3m-0.5.2-1003 (Reading database ... 10827 files and directories currently installed.) Removing fink-buildlock-w3m-0.5.2-1003 ... Failed: phase compiling: w3m-0.5.2-1003 failed --------------------------------------------------------- is this enough info for you? Jamie 0n Sun, Dec 16, 2007 at 07:38:31PM -0500, Alexander K. Hansen wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > How about going to the last line the compiler tried to run, and > looking just below that? I don't know which header is missing, so I > don't know if you need to install a Fink package to fix that (and let > the maintainer know that it's a missing BuildDepend) or if it's > something missing from your Xcode install. > > Jamie Griffin wrote: > > Thanks for the info, i'm using mac os x 10.4.11. > > > > The errors were very long, however, you mentioned the problem is > > potentially a missing header file. How would i fix this? > > > > > > > 0n Sun, Dec 16, 2007 at 06:14:30PM -0500, Alexander K. Hansen > > wrote: Jamie Griffin wrote: > >>>> I'm having problems installing w3m. below is some of the > >>>> output: > >>>> > >>>> x11_w3mimg.c:774: error: 'attr' undeclared (first use in this > >>>> function) x11_w3mimg.c:779: error: parse error before > >>>> 'p_window' x11_w3mimg.c:781: error: dereferencing pointer to > >>>> incomplete type x11_w3mimg.c:781: error: dereferencing > >>>> pointer to incomplete type x11_w3mimg.c:781: error: 'root' > >>>> undeclared (first use in this function) x11_w3mimg.c:781: > >>>> error: dereferencing pointer to incomplete type > >>>> x11_w3mimg.c:782: error: 'children' undeclared (first use in > >>>> this function) x11_w3mimg.c:783: error: 'p_window' undeclared > >>>> (first use in this function) x11_w3mimg.c:783: error: > >>>> dereferencing pointer to incomplete type x11_w3mimg.c:785: > >>>> error: dereferencing pointer to incomplete type > >>>> x11_w3mimg.c:791: error: dereferencing pointer to incomplete > >>>> type x11_w3mimg.c:794: error: dereferencing pointer to > >>>> incomplete type x11_w3mimg.c:799: error: dereferencing > >>>> pointer to incomplete type make[2]: *** [x11_w3mimg.o] Error > >>>> 1 make[1]: *** [x11] Error 2 make: *** [w3mimg] Error 2 ### > >>>> execution of make failed, exit code 2 Removing runtime > >>>> build-lock... Removing build-lock package... > >>>> /sw/bin/dpkg-lockwait -r fink-buildlock-w3m-0.5.2-1003 > >>>> (Reading database ... 6328 files and directories currently > >>>> installed.) Removing fink-buildlock-w3m-0.5.2-1003 ... > >>>> Failed: phase compiling: w3m-0.5.2-1003 failed > >>>> > >>>> ---------------------------------------------- > >>>> > >>>> Can anyone tell me how to resolve this? > >>>> > >>>> Many thanks > >>>> > >>>> Jamie > >>>> > > It's usually a good idea to: > > > > 1) Include your OS version and architecture, in case it's a > > specific problem to one of those. 2) For build errors, post from > > the last line that the compiler tried to run onward--unless it's > > getting really long. In that event, the last compiler line plus > > _some_ of the output is a good idea. > > > > #2 helps us see if anything local to your system is interfering > > with the build, and ensures that all relevant parts of the error > > are included. Your error looks like a header file is missing, and > > it's possible that it was specifically mentioned right after the > > last compiler command. > >> > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.6 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFHZcUGB8UpO3rKjQ8RAi6lAJ4le3lJnxKt2xrddnTMQS/L5MOJLwCaAzLh > csFIOW+Ws/8loiPCYavCeKc= > =fyyC > -----END PGP SIGNATURE----- > ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Fink-beginners mailing list [email protected] http://news.gmane.org/gmane.os.apple.fink.beginners
