[AD] [ alleg-Bugs-3300870 ] [4.4.1.1] Unix module loader doesn't work

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Bugs item #3300870, was opened at 2011-05-12 09:10
Message generated for change (Tracker Item Submitted) made by bero
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105665&aid=3300870&group_id=5665

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Bernhard Rosenkraenzer (bero)
Assigned to: Nobody/Anonymous (nobody)
Summary: [4.4.1.1] Unix module loader doesn't work

Initial Comment:
The 4.4.1.1 Unix module loader fails to load modules from the "standard" module directory.

The problem is that the top level CMakeFiles.txt sets ALLEGRO_MODULES_PATH to the full path including the ${ALLEGRO_VERSION} subdirectory, but src/unix/umodules.c adds the version number to the path again, causing it to look in /usr/lib/allegro/4.4.1/4.4.1/ instead of /usr/lib/allegro/4.4.1

Attaching patch.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105665&aid=3300870&group_id=5665




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/