Building OpenPortal

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
search/ns/dist/Linux-domestic-optimize/examples/Makefile
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
to read
CC=gcc-3.3.6
The 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 directory
Apparently 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!

<script type="text/javascript"> var sc_project=3055623; var sc_invisible=0; var sc_partition=33; var sc_security="2841646f"; </script> <script type="text/javascript" src="http://www.statcounter.com/counter/counter_xhtml.js"></script>
Comments:

Post a Comment:
  • HTML Syntax: NOT allowed
About

Members of the EMEA Globalization Center are blogging about the products that comprise the Java Enterprise System stack.

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today