LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-19-2009, 04:05 AM   #1
arcow
Member
 
Registered: Jan 2006
Distribution: RedHat linux 9
Posts: 31

Rep: Reputation: 15
when i install svn, error occurs,how to solve it?


i install subversion-1.6.4 ,when "make",error occurs.
so i change another version subversion-1.4.2,
it's still error,like below:

subversion/libsvn_subr/xml.c: At top level:
subversion/libsvn_subr/xml.c:321: error: syntax error before '*' token
subversion/libsvn_subr/xml.c: In function `expat_data_handler':
subversion/libsvn_subr/xml.c:323: error: `userData' undeclared (first use in this function)
subversion/libsvn_subr/xml.c:325: error: dereferencing pointer to incomplete type
subversion/libsvn_subr/xml.c:325: error: dereferencing pointer to incomplete type
subversion/libsvn_subr/xml.c:325: error: `s' undeclared (first use in this function)
subversion/libsvn_subr/xml.c:325: error: `len' undeclared (first use in this function)
subversion/libsvn_subr/xml.c: In function `svn_xml_make_parser':
subversion/libsvn_subr/xml.c:341: error: `XML_Parser' undeclared (first use in this function)
subversion/libsvn_subr/xml.c:341: error: syntax error before "parser"
subversion/libsvn_subr/xml.c:343: error: `parser' undeclared (first use in this function)
subversion/libsvn_subr/xml.c:353: error: dereferencing pointer to incomplete type
subversion/libsvn_subr/xml.c:353: error: dereferencing pointer to incomplete type
subversion/libsvn_subr/xml.c:355: error: dereferencing pointer to incomplete type
subversion/libsvn_subr/xml.c:356: error: dereferencing pointer to incomplete type
subversion/libsvn_subr/xml.c:357: error: dereferencing pointer to incomplete type
subversion/libsvn_subr/xml.c:358: error: dereferencing pointer to incomplete type
subversion/libsvn_subr/xml.c:359: error: dereferencing pointer to incomplete type
subversion/libsvn_subr/xml.c:360: error: dereferencing pointer to incomplete type
subversion/libsvn_subr/xml.c: In function `svn_xml_free_parser':
subversion/libsvn_subr/xml.c:374: error: dereferencing pointer to incomplete type
subversion/libsvn_subr/xml.c:377: error: dereferencing pointer to incomplete type
subversion/libsvn_subr/xml.c: In function `svn_xml_parse':
subversion/libsvn_subr/xml.c:393: error: dereferencing pointer to incomplete type
subversion/libsvn_subr/xml.c:401: error: dereferencing pointer to incomplete type
subversion/libsvn_subr/xml.c:402: error: dereferencing pointer to incomplete type
subversion/libsvn_subr/xml.c:410: error: dereferencing pointer to incomplete type
subversion/libsvn_subr/xml.c:412: error: dereferencing pointer to incomplete type
subversion/libsvn_subr/xml.c: In function `svn_xml_signal_bailout':
subversion/libsvn_subr/xml.c:426: error: dereferencing pointer to incomplete type
subversion/libsvn_subr/xml.c:427: error: dereferencing pointer to incomplete type
subversion/libsvn_subr/xml.c:431: error: dereferencing pointer to incomplete type
make: *** [subversion/libsvn_subr/xml.lo] Error 1
 
Old 08-19-2009, 08:11 AM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
Why not use your package manager to install subversion? Try installing expat and/or libxml2 along with their development files and try the build again. I don't remember if you need either one or both.
 
Old 08-19-2009, 10:19 PM   #3
arcow
Member
 
Registered: Jan 2006
Distribution: RedHat linux 9
Posts: 31

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by weibullguy View Post
Why not use your package manager to install subversion? Try installing expat and/or libxml2 along with their development files and try the build again. I don't remember if you need either one or both.
thank you for your answer, just now, i installed libxml2 and expat,and then i compiled svn again,when i "make",the error showed:

/usr/bin/ld: cannot find -lldap
collect2: ld returned 1 exit status
make: *** [subversion/libsvn_subr/libsvn_subr-1.la] Error 1

how can i go on next step?
 
Old 08-20-2009, 01:22 PM   #4
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
You're missing the LDAP library. Either install the LDAP library or see if there is an option to pass to the configure script to disable LDAP support. Check the output of ./configure --help to see if there is an option to disable LDAP.
 
  


Reply

Tags
error, install, svn



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How can i solve this error? bala_adi Red Hat 5 04-25-2009 09:26 AM
Fatal error occurs at kde startup akya Linux - Newbie 6 11-26-2008 12:17 AM
why is the error "Page allocation faliure order: 8 mode 0x1d " occurs. Atul Waghmare Linux - Newbie 0 09-02-2008 05:03 AM
library error occurs - plz help eshban Linux - Software 4 08-06-2006 11:46 PM
CRC error --System Halted occurs occasionally quinnculator Linux - General 4 06-19-2003 11:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration