[csw-users] Can't find CSWunrealircd
Maciej Bliziński
maciej at opencsw.org
Tue May 17 00:48:38 CEST 2011
Hi Axelle,
2011/5/13 Axelle Apvrille <axelle_apvrille at yahoo.fr>:
> Ok. It compiled without any problem (did not need your patch).
> I am just having problems understanding how to configure it...
> (won't run as such).
> I use the default configuration file (example.conf).
I think that part of the configuration issues might be due to the lack
of the patch. The paths.c file contains paths where hyperion-ircd
looks for files, and if unpatched, it looks at the wrong places.
In the OpenCSW case, it looks like a problem to set up the paths
correctly. Looking at paths.c, Hyperion assumes that all paths are of
the form ${prefix}/directory.
#define DPATH PREFIX "/"
#define SPATH "sbin/hyperion-ircd"
#define CPATH "etc/dancer-ircd/ircd.conf"
In our case, we have prefix=/opt/csw, but sysconfdir=/etc/opt/csw, so
it's /etc${prefix}, not ${prefix}/etc.
I tried to hack it by setting the paths by using ".." segments:
"../../etc/opt/csw/foo".
I've built an experimental CSWhyperion package, it's available from here:
http://buildfarm.opencsw.org/experimental.html#maciej
The build description is available here:
https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/pkg/hyperion/trunk/
To install the experimental hyperion packages:
pkgutil -t http://buildfarm.opencsw.org/opencsw/experimental/maciej -i hyperion
Maciej
More information about the users
mailing list