[jboss-user] [JBoss Portal] - Building JBoss Portal 2.4.1 on SLES 10

nils_kassube do-not-reply at jboss.com
Wed Feb 14 06:07:48 EST 2007


Guten Tag.

I'm trying to build the souce release (fetched as tarball from SourceForge, not via CVS) on SuSE Linux Enterprise Server 10. 

/bin/ant is refered (why?) somewhere in the build scripts, so let's ln -s /usr/bin/ant to /bin/ant. Then:

pentaho:~/jboss-portal-2.4.1-src/build # sh build.sh
: command not found2.4.1-src/tools/bin/common.shlib: line 7:
: command not found2.4.1-src/tools/bin/common.shlib: line 9:
'root/jboss-portal-2.4.1-src/tools/bin/common.shlib: line 11: syntax error near unexpected token `{
'root/jboss-portal-2.4.1-src/tools/bin/common.shlib: line 11: `{
xset:  unable to open display ""
xset:  unable to open display ""
/root/jboss-portal-2.4.1-src/tools/bin/build.sh: line 38: check_os: command not found
/root/jboss-portal-2.4.1-src/tools/bin/build.sh: line 40: convertpath: command not found
/root/jboss-portal-2.4.1-src/tools/bin/build.sh: line 41: convertpath: command not found
/root/jboss-portal-2.4.1-src/tools/bin/build.sh: line 42: debug: command not found
/root/jboss-portal-2.4.1-src/tools/bin/build.sh: line 43: debug: command not found
xset:  unable to open display ""
xset:  unable to open display ""
/root/jboss-portal-2.4.1-src/tools/bin/build.sh: line 53: convertpath: command not found
/root/jboss-portal-2.4.1-src/tools/bin/build.sh: line 54: debug: command not found
xset:  unable to open display ""
/root/jboss-portal-2.4.1-src/tools/bin/build.sh: line 62: debug: command not found
/root/jboss-portal-2.4.1-src/tools/bin/build.sh: line 67: maybe_source: command not found
/root/jboss-portal-2.4.1-src/tools/bin/build.sh: line 70: [: =: unary operator expected
/root/jboss-portal-2.4.1-src/tools/bin/build.sh: line 94: debug: command not found
/root/jboss-portal-2.4.1-src/tools/bin/build.sh: line 107: die: command not found
xset:  unable to open display ""
/root/jboss-portal-2.4.1-src/tools/bin/build.sh: line 120: debug: command not found
xset:  unable to open display ""
/root/jboss-portal-2.4.1-src/tools/bin/build.sh: line 133: debug: command not found
/root/jboss-portal-2.4.1-src/tools/bin/build.sh: line 136: notice: command not found
Buildfile: build.xml does not exist!
Build failed
--cut-- 

Calling ant directly also doesn't work. The error message:

BUILD FAILED
/root/jboss-portal-2.4.1-src/tools/etc/buildfragments/buildmagic.ent:256: The following error occurred while executing this line:
/root/jboss-portal-2.4.1-src/tools/etc/buildfragments/buildmagic.ent:349: Could not create task or type of type: depend.

Ant could not find the task or a class this task relies upon.

Cheers,
Nils

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016299#4016299

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016299



More information about the jboss-user mailing list