I wanted to verify one recently fixed bug in OpenPortal and I did not want to wait for the next official build. The build instructions were pretty straightforward and I checked-out the source to my Mandriva-run laptop. Troubles came shortly after issuing ant package.
Second look at the instructions and I found out that gcc 3.x was required. My system comes with 4.2.2 as a default - and I do not want to change this. So I had to fix the lines in
In about 20 minutes the OpenPortal rpms were ready to use. Nice job guys!
Second look at the instructions and I found out that gcc 3.x was required. My system comes with 4.2.2 as a default - and I do not want to change this. So I had to fix the lines in
search/ns/dist/Linux-domestic-optimize/examples/Makefileto read
search/ns/netsite/batman/common/src/librdm/examples/Makefile
search/ns/netsite/batman/KEEPERS/final/Linux-domestic-optimize-intl/SUNWpsse/SUNWps/sdk/rdm/examples/Makefile
search/ns/netsite/nsconfig.mak
CC=gcc-3.3.6The second attempt looked much better but it still failed. The line of errors was started with a
[exec] getpwnam.c:30:31: error: security/pam_appl.h: No such file or directoryApparently the file (part of the pam package) is present in default installation on RHEL, but Mandriva outsourced it to ...
urpmf pam_appl.h ... yes, to libpam-devel. urpmi libpam-devel and it is installed. I relaunched the build and ... the unbelievable became reality.In about 20 minutes the OpenPortal rpms were ready to use. Nice job guys!