LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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, 05: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, 09:11 AM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware-current, Cross Linux from Scratch, Gentoo
Posts: 2,750
Blog Entries: 1

Rep: Reputation: 238Reputation: 238Reputation: 238
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, 11: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, 02:22 PM   #4
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware-current, Cross Linux from Scratch, Gentoo
Posts: 2,750
Blog Entries: 1

Rep: Reputation: 238Reputation: 238Reputation: 238
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 10:26 AM
Fatal error occurs at kde startup akya Linux - Newbie 6 11-26-2008 01:17 AM
why is the error "Page allocation faliure order: 8 mode 0x1d " occurs. Atul Waghmare Linux - Newbie 0 09-02-2008 06:03 AM
library error occurs - plz help eshban Linux - Software 4 08-07-2006 12:46 AM
CRC error --System Halted occurs occasionally quinnculator Linux - General 4 06-19-2003 12:46 PM


All times are GMT -5. The time now is 09:30 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration