On Wednesday, July 23, 2003, at 12:59 PM, Christian Jost wrote:


At 11:28 -0400 23/07/03, Alexander K. Hansen wrote:
On Wednesday, July 23, 2003, at 10:50 AM, Christian Jost wrote:

Hi everybody,
I am trying to install the XML package in R, but when running the install procedure I got an error that the file parser.h could not be found. Upon checking my /sw directory I found that it exists, but in directory libxml2 instead of the expected libxml. I am not a sufficiently good linux hacker to correct this myself, any > suggestions?


Thanks, Christian.

ps: OSX Jaguar with December developer tools (not 100% sure, how to check?)


<snip>
checking how to run the C preprocessor... gcc -E -traditional-cpp
checking for xml-config... no
checking for libxml/parser.h... no
checking for gnome-xml/parser.h... no
checking for libxml/parser.h... (cached) no
checking for gnome-xml/parser.h... (cached) no
checking for libxml/parser.h... (cached) no
Cannot find parser.h. Set the value of the environment variable
    LIBXML_INCDIR
to point to where it can be found.
ERROR: configuration failed for package 'XML'


First, try setting up your environment as per


http://fink.sourceforge.net/faq/usage-general.php#compile-myself

(make sure to run a new terminal afterwards).


Thanks for the hint, but adding the suggested four commands to my .tcshrc and then doing a 'source .tcshrc' or starting a new terminal produces exactly the same result. In fact, I do not know whether its a fink problem or a problem with the makefile of this particular R package. I hope the maintainer of R has some idea.


Thanks, Christian.


How about


setenv LIBXML_INCDIR /sw/include/libxml2/libxml

and try again.

My guess is that you'll need to set some environment variables like the above and/or feed in some additional configuration stuff.

--
Alexander K. Hansen
Levitated Dipole Experiment
http://www.psfc.mit.edu/LDX



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Fink-beginners mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to