-----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
