View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001394aMuleMiscpublic2008-08-25 00:222008-08-26 11:45
Reportermr_hyde 
Assigned ToWuischke 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product VersionSVN 
Target VersionFixed in Version 
Summary0001394: When configured with --program-suffix/--program-prefix amule cannot launch amuleweb
DescriptionTested with amule 2.2.2 AND amule SVN.

If you configure amule with --program-prefix and/or --program-suffix amule is not able to launch amuleweb.

If you use --program-prefix=XXX_ then amuleweb it is _INSTALLED_ as "XXX_amuleweb", but in amule.cpp the code used to launch amuleweb on startup considers the name "amuleweb" only.

In amule.cpp you can read:

    // Run webserver?
    if (thePrefs::GetWSIsEnabled()) {
        wxString aMuleConfigFile = ConfigDir + wxT("amule.conf");
        wxString amulewebPath = wxT("amuleweb");
[...]

        wxString cmd =
            wxT("'") +
            amulewebPath +
            wxT("' '--amule-config-file=") +
            aMuleConfigFile +
            wxT("'");
        CTerminationProcessAmuleweb *p = new CTerminationProcessAmuleweb(cmd, &webserver_pid);
        webserver_pid = wxExecute(cmd, wxEXEC_ASYNC, p);


I suppose that it should be necessary to create some macros with the arguments of --program-prefix and --program-suffix to compose the right name, but this goes beyond my poor knowledge of automake/autoconf tools, sorry :-)

TagsNo tags attached.
Fixed in Revision
Operating SystemAny
Attached Files

- Relationships

-  Notes
(0002929)
Wuischke (manager)
2008-08-26 11:45

A new command line option will be available in tomorrow's SVN tarball.

- Issue History
Date Modified Username Field Change
2008-08-25 00:22 mr_hyde New Issue
2008-08-25 00:22 mr_hyde Operating System => Any
2008-08-26 11:45 Wuischke Status new => resolved
2008-08-26 11:45 Wuischke Resolution open => fixed
2008-08-26 11:45 Wuischke Assigned To => Wuischke
2008-08-26 11:45 Wuischke Note Added: 0002929


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker