If you are using a sandbox and do no install libraries in default path I
recommend to you export DYLD_LIBRARY_PATH. to directory where you are
installing the new libs. Try this and give me a feed back.


Thanks



On Thu, Aug 5, 2010 at 6:41 AM, Stefan Scherfke <
[email protected]> wrote:

> Hello,
>
> I’m trying to compile PySide 0.4.0 on Mac OS X 10.6, but there seems to be
> a
> problem with Generatorrunner.
>
> It seems to search for libgenrunner.0.6.dylib only in the current
> directory (../sandbox/lib in my case), so you can only execute it from the
> diretory containging that library.
>
> Generatorruner itself builds and installs sucessfully, but building
> Shiboken
> will fail when it tries to test generatorrunner:
>
>    $ /Users/stefan/Code/PySide/sandbox/bin/generatorrunner
> --generatorSet=/Users/stefan/Code/PySide/shiboken/shiboken_generator
> --enable-parent-ctor-heuristic
> /Users/stefan/Code/PySide/shiboken/tests/samplebinding/global.h
> --include-paths=/Users/stefan/Code/PySide/shiboken/tests/libsample
> --typesystem-paths=/Users/stefan/Code/PySide/shiboken/tests/samplebinding
> --output-directory=/Users/stefan/Code/PySide/shiboken/tests/samplebinding
>
> /Users/stefan/Code/PySide/shiboken/tests/samplebinding/typesystem_sample.xml
>    dyld: Library not loaded: libgenrunner.0.6.dylib
>      Referenced from: /Users/stefan/Code/PySide/sandbox/bin/generatorrunner
>      Reason: image not found
>    Trace/BPT trap
>
>
> When I execute the same commando from within my sandbox’ lib-dir I only get
> 11
> warnings (3 known issues):
>
>    $ generatorrunner [...]
>    ./sys.framework/Headers/_types.h
>
>
> /Users/stefan/Code/PySide/shiboken/tests/libsample/sys.framework/Headers/_types.h
>    ./sys.framework/Headers/cdefs.h
>
>
> /Users/stefan/Code/PySide/shiboken/tests/libsample/sys.framework/Headers/cdefs.h
>    ./machine.framework/Headers/_types.h
>
>
> /Users/stefan/Code/PySide/shiboken/tests/libsample/machine.framework/Headers/_types.h
>    Generating class model...                    [WARNING]
>    File for inject code not exist: simplefile_glue.cpp
>    File containing conversion code for std::map type does not exist or is
> not
> redable: map_conversions.h
>    File containing conversion code for OddBool type does not exist or is
> not
> redable: oddbool_conversions.h
>    File containing conversion code for Complex type does not exist or is
> not
> redable: complex_conversions.h
>    File containing conversion code for std::list type does not exist or is
> not
> redable: list_conversions.h
>    File containing conversion code for std::pair type does not exist or is
> not
> redable: pair_conversions.h
>
>
>    Generating enum model...                     [OK]
>    Generating namespace model...                [OK]
>    Resolving typedefs...                        [OK]
>    Fixing class inheritance...                  [OK]
>    Detecting inconsistencies in class model...  [WARNING]
>    hiding of function 'takeChild' in class 'ObjectType'
>    visibility of function 'publicMethod' modified in class 'SonOfMDerived1'
>    hiding of function 'takeChild' in class 'Bucket'
>    visibility of function 'publicMethod' modified in class 'MDerived1'
>    hiding of function 'takeChild' in class 'ObjectView'
>
>
>    Detecting inconsistencies in typesystem...   [OK]
>
>    Done, 11 warnings (3 known issues)
>
>
> I installed every thing using:
>
>    $ cmake -DCMAKE_INSTALL_PREFIX=../sandbox/ CMakeLists.txt
>    $ make
>    $ make install
>
> Unfortunately I haven’t used cmake before, so I was not able to trace and
> fix the error myself.
>
> Best regards,
> Stefan
> _______________________________________________
> PySide mailing list
> [email protected]
> http://lists.openbossa.org/listinfo/pyside
>



-- 
Renato Araujo Oliveira Filho
Instituto Nokia de Tecnologia - INdT
Mobile: +55 (81) 8704-2144
_______________________________________________
PySide mailing list
[email protected]
http://lists.openbossa.org/listinfo/pyside

Reply via email to