Thread: problems in compiling svn from source...

  1. #1
    Registered User
    Join Date
    May 2008
    Posts
    1

    problems in compiling svn from source...

    while compiling svn from source i faced a problem

    it might sound trivial as i m a beginner :

    ./configure worked fine
    but while making:

    linux-awa5:~/Desktop/subversion-1.4.6 # make
    cd subversion/libsvn_subr && /bin/sh /root/Desktop/subversion-1.4.6/libtool --tag=CC --silent --mode=link gcc -g -O2 -pthread -L/usr/lib -rpath /usr/local/lib -o libsvn_subr-1.la auth.lo cmdline.lo compat.lo config.lo config_auth.lo config_file.lo config_win.lo constructors.lo ctype.lo date.lo dso.lo error.lo hash.lo io.lo kitchensink.lo lock.lo md5.lo nls.lo opt.lo path.lo pool.lo prompt.lo quoprint.lo simple_providers.lo sorts.lo ssl_client_cert_providers.lo ssl_client_cert_pw_providers.lo ssl_server_trust_providers.lo stream.lo subst.lo svn_base64.lo svn_string.lo target.lo time.lo user.lo username_providers.lo utf.lo utf_validate.lo validate.lo version.lo xml.lo /usr/lib/libaprutil-1.la -lldap -llber -ldb-4.5 -lexpat /usr/lib/libapr-1.la -lrt -lcrypt -lpthread -ldl -lz
    /usr/lib/gcc/i586-suse-linux/4.2.1/../../../../i586-suse-linux/bin/ld: cannot find -lldap
    collect2: ld returned 1 exit status
    make: *** [subversion/libsvn_subr/libsvn_subr-1.la] Error 1


    what is this -lldap and where 2 get it from

  2. #2
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    One of the moderators probably should split this off the original thread, as you are not supposed to "wake" really old threads.

    Perhaps this link will help:
    http://www.linuxdevcenter.com/pub/a/...4/libldap.html

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  3. #3
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    One of the moderators probably should split this off the original thread, as you are not supposed to "wake" really old threads.
    Right.
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  4. #4
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,057
    Just out of curiosity, why are you building SVN from source? Usually, you can get a binary that's already compiled for you.

    http://subversion.tigris.org/project_packages.html

    There's nothing wrong with compiling from source, it's just difficult sometimes, as you have seen.

    What Linux system are you using? Is it a 32-bit or a 64-bit one?
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Obtaining source & destination IP,details of ICMP Header & each of field of it ???
    By cromologic in forum Networking/Device Communication
    Replies: 1
    Last Post: 04-29-2006, 02:49 PM
  2. shortest path problems
    By talz13 in forum C++ Programming
    Replies: 7
    Last Post: 05-08-2004, 06:13 AM
  3. Request for comments
    By Prelude in forum A Brief History of Cprogramming.com
    Replies: 15
    Last Post: 01-02-2004, 10:33 AM
  4. Replies: 7
    Last Post: 12-14-2003, 01:00 PM
  5. problems compiling a month class
    By kkurz in forum C++ Programming
    Replies: 6
    Last Post: 09-21-2003, 10:49 AM