hi
 the machine on which i'm working is as follows......
 
Machine hardware:   sun4u
OS version:         5.9
Processor type:     sparc
Hardware:           SUNW,Sun-Blade-1000
 
and when i've typed
 
> gcc $version
gcc: tcsh: No such file or directory
gcc: 6.12.00: No such file or directory
gcc: (Astron): No such file or directory
gcc: 2002-07-23: No such file or directory
gcc: (sparc-sun-solaris): No such file or directory
gcc: options: No such file or directory
gcc: 8b,nls,dl,al,rh,color,filec: No such file or directory
gcc: no input files
 
i've downloaded the binary version and extracted versoin  is currently in my home directory and name of the folder is "xerces"
 
echo $HOME
/home/vsripada
 
so my .cshrc looks like this
 
set path = ($path $HOME/xerces/bin)
 
setenv XERCESCROOT '$HOME'/xerces/include
 
as far as i understood XERCESCROOT should point out to directory where all the include files are present so is this correct. ??? as the simple SAXPrint.cpp program includes some files from
xercesc/util folder
 
setenv XERCESCOUT '$HOME'/xerces
 
this XERCESCOUT has been defined after seeing the Makefile.in that comes along with sample prgm.....as in that file this variable has been used to for specfying where object and exectuables should be placed......as compiling it....
 
setenv LD_LIBRARY_PATH $XERCESCOUT/lib
this points to lib directory
 
setenv CLASSPATH '$LD_LIBRARY_PATH':'$LD_LIBRARY_PATH':'$CLASSPATH'
setenv CLASSPATH '$XERCESCOUT'/lib/libxerces-c.so:'$XERCESCOUT'/lib/libxerces-c.so.25:'$XERCESCOUT'/lib/libxerces-c.so.25.0:'$LD_LIBRARY_P$
 
explicitly specfying the class path for the 3 files in the lib directory.....
 
when i go to bin directory and give a xml file ....it prints me the file.....
 
but when i want to compile the sample prgm file present in SAXPrint directory...i'm getting problem.....i've a very basic doubt...how do i  make use of makefile.in present in the SAXPrint ........
 
should i simply type ...Makefile.in or
 
do i need to make some changes to it (the makefile.in) ......?
 
i mean when i type Makefile.in  i get something like this
 
> makefile.in
PLATFORM: Command not found.
COMPILER: Command not found.
GCC: Command not found.
GXX: Command not found.
CXXFLAGS: Command not found.
CFLAGS: Command not found.
LDFLAGS: Command not found.
THREADS: Command not found.
EXTRA_LIBS: Command not found.
PREFIX: Command not found.
/usr/local/netpbm/include: Permission denied.
/usr/local/netpbm/include: Permission denied.
APP_NAME=SAXPrint: Command not found.
i'm sorry for mailing to ur e-mail id directly as i really in need of some help i had to do it
 
raja
 
 


Alberto Massari <[EMAIL PROTECTED]> wrote:
Hi Vithal,

At 22.16 11/05/2004 +0100, vithal sripada wrote:
>hi
> i've problem executing the sample codes given ......i'm able to
> execute the ones present in the bin folder...........i mean the
> executable file....well this means that ....my classpath is fine...but
> i'm unable to understand the point given regarding this in the FAQ's

I guess that you mean "library path"; "classpath" is for Java programs.

>
>http://xml.apache.org/xerces-c/faq-build.html#faq-1
>
>i'm unable to understand the line
>
>export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$HOME/fastxmlparser/lib
>
>given in the FAQ
>
>i'm unable to add this line in my .cshrc file......and wat is
>fastxmlparser is it the folder in which my file is present....if i want to
>execute the sample prgm do i need to write...

As the FAQ says, "Thus, if you installed your binaries under
$HOME/fastxmlparser, you need to point your library path to that directory..."
So the question is: where did you expanded the binary package? Or did you
downloaded a source package?
Also, on which Unix platform are you running?

Alberto

>
>export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$HOME/xerces/samples/lib
>
>but i dont find any lib in it ........
>
>any kind of help is appreciated
>
>raja
>
>
>Yahoo!
>Messenger - Communicate instantly..."Ping" your friends today!
>Download
>Messenger Now



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now

Reply via email to