Edgewall Software
Modify

Opened 20 years ago

Closed 20 years ago

Last modified 18 years ago

#279 closed defect (fixed)

initdb on Mandrake 9.2

Reported by: eric.moret@… Owned by: Jonas Borgström
Priority: normal Milestone: 0.6.1
Component: general Version: 0.6.1
Severity: blocker Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

Hi,

I just installed trac on my Mandrake 9.2 using urpmi from the latest cooker and here is what I get when trying to create the database.

$ sudo trac-admin /var/trac/trac.db initdb Creating a new Trac project database at /var/trac/trac.db

Trac will first ask a few questions about your environment in order to initalize and prepare the project database.

Please enter the name of your project. This name will be used in page titles and descriptions.

Project Name [My Project]> Platine Traceback (most recent call last):

File "/usr/bin/trac-admin", line 1243, in ?

main()

File "/usr/bin/trac-admin", line 1232, in main

tracadm.docmd (command)

File "/usr/bin/trac-admin", line 388, in docmd

self.onecmd(cmd)

File "/usr/lib/python2.3/cmd.py", line 210, in onecmd

return func(arg)

File "/usr/bin/trac-admin", line 781, in do_initdb

from svn import util, repos, core

File "/home/ben/rpm/tmp/subversion-1.0.1/usr/lib/svn-python/svn/util.py", line 21, in ? File "/home/ben/rpm/tmp/subversion-1.0.1/usr/lib/svn-python/svn/core.py", line 21, in ? File "/home/ben/rpm/tmp/subversion-1.0.1/usr/lib/svn-python/libsvn/core.py", line 5, in ?

ImportError: /usr/lib/libsvn_subr-1.so.0: undefined symbol: apr_file_mtime_set $

Attachments (0)

Change History (2)

comment:1 by eric.moret@…, 20 years ago

Milestone: 0.6.1
Resolution: fixed
Status: newclosed

Fixed it the following way:

  • update to latest apache2-2.0.48-6mdk and associated packages
  • replaced package libapr0-2.0.48-6mdk by libapr0-2.0.48-5mdk with
    $ rpm -Uvh --oldpackage libapr0-2.0.48-5mdk.i586.rpm
    
  • add following line to httpd2.conf
    $ cat >> /etc/httpd/conf/httpd2.conf
    
    AcceptMutex fcntl
    ^D
    

comment:2 by kgdavis@…, 20 years ago

Using suse.. experienced the same problem.

Upgrading to the newest apache2 and libapr did it for me.

Kevin kevin.is-a-geek.net

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.