from sys import path
path.append('/usr/lib/python2.6/')
class deps(package):
config(display_name='Radakan dependencies')
require('morepy')
packager.setHost('http://localhost/radakan_built')
dir('/home/t/dev/radakan/trunk/decorator')
module(
'decorator',
'logging',
'logging.*'
)
I get this output:
:Packager: Reading deps.pdef
sh: ldd: command not found
sh: ldd: command not found
sh: ldd: command not found
sh: ldd: command not found
sh: ldd: command not found
sh: ldd: command not found
sh: ldd: command not found
Generating deps/linux_i386/deps.linux_i386.mf
Does it matter? And if so, what can I do about it? I’ve tried to make a simlink form /usr/bin/ldd to /bin/ldd, but that didn’t make a difference.
Edit: I’ve been able to make a p3d file using deps.pdef.
The os.system() attempt, did you just run it in python interactively, or did you attempt to package it up and run it in a p3d file? Because I don’t think it would have worked in a p3d file, unless you had also specified “-c keep_user_env=1” on the command line.
The p3d runtime normally blows away the system path, except when keep_user_env is set in the p3d file (as it should be for ppackage). Maybe that’s failing for some reason?