Error Building es from svn trunk

7 views
Skip to first unread message

appu

unread,
Aug 31, 2011, 10:47:01 PM8/31/11
to es-operating-system
I am trying to build es from svn on 32bit karmic koala virtual
machine. where do i get the setup log

#!/bin/bash -v

# function to manually copy files if wget fails
manual_input()
{
echo -n "'$1' failed. Manually enter path for $2: "
read path
if [ "$path" ]
then
# currently in src/. Copy here.
cp $path/$2 .
estatus=$?
[ $estatus != 0 ] && exit $estatus
else
exit 1
fi
}

dist_dir=$(expr substr $0 1 $(expr $(expr length $0) - 5))
expr substr $0 1 $(expr $(expr length $0) - 5))
expr substr $0 1 $(expr $(expr length $0) - 5)
expr $(expr length $0) - 5)
expr $(expr length $0) - 5
expr length $0)
expr length $0

# Check prerequisites
if which yum
then
sudo yum install subversion autoconf automake patch texinfo bison
flex gcc-c++ glibc pcre-devel qemu freeglut-devel cairo-devel libX11-
devel libXmu-devel libXi-devel sazanami-fonts-mincho sazanami-fonts-
gothic gmp-devel mpfr-devel libmpc-devel libtool libjpeg-devel libicu-
devel gperf
elif which apt-get
then
sudo apt-get install subversion autoconf automake patch texinfo bison
flex gcc libc6-dev g++ libpcre3-dev qemu libcairo2-dev libX11-dev
libxmu-dev libxi-dev ttf-liberation ttf-sazanami-mincho ttf-sazanami-
gothic freeglut3-dev libmpfr-dev libmpc-dev libtool libjpeg-dev libicu-
dev gperf
else
echo 'Your OS is probably not a supported development environment.'
exit 1
fi
/usr/bin/apt-get
Reading package lists...
Building dependency tree...
Reading state information...
subversion is already the newest version.
autoconf is already the newest version.
automake is already the newest version.
patch is already the newest version.
texinfo is already the newest version.
bison is already the newest version.
flex is already the newest version.
gcc is already the newest version.
libc6-dev is already the newest version.
g++ is already the newest version.
libpcre3-dev is already the newest version.
qemu is already the newest version.
libcairo2-dev is already the newest version.
libx11-dev is already the newest version.
libxmu-dev is already the newest version.
libxi-dev is already the newest version.
ttf-liberation is already the newest version.
ttf-sazanami-mincho is already the newest version.
ttf-sazanami-gothic is already the newest version.
freeglut3-dev is already the newest version.
libmpfr-dev is already the newest version.
libmpc-dev is already the newest version.
libtool is already the newest version.
Note, selecting libjpeg62-dev instead of libjpeg-dev
libjpeg62-dev is already the newest version.
libicu-dev is already the newest version.
gperf is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 330 not upgraded.

if [ -z "$ES_SDK" ];
then
export ES_SDK=`pwd`/sdk
fi
pwd

mkdir -p $ES_SDK
mkdir -p src
mkdir -p opt

# Check whether $ES_SDK/bin is contained in PATH
# if not append the path to ~/.bashrc

echo $PATH | grep -q "$ES_SDK/bin"
if [ $? != 0 ]
then
export PATH=$PATH:$ES_SDK/bin
# Check whether already appended in ~/.bashrc
grep -q "# Added by es install" ~/.bashrc
if [ $? != 0 ]
then
echo -n "Add export statement to ~/.bashrc [y|n]? "
read input
if [ $input == "y" -o $input == "Y" ]
then
echo "# Added by es install" >> ~/.bashrc
echo "export PATH=\$PATH:$ES_SDK/bin" >> ~/.bashrc
fi
fi
fi


if [ -e $dist_dir/configure ];
then
# Setup from the distribution
if [ ! -e trunk ];
then
ln -s $dist_dir trunk
fi
elif [ ! -d trunk ];
then
# Check out the source code from Google Code
mkdir trunk
if [ -z $GOOGLE_USERNAME ];
then
svn checkout http://es-operating-system.googlecode.com/svn/trunk/
trunk
else
svn checkout https://es-operating-system.googlecode.com/svn/trunk/
trunk --username $GOOGLE_USERNAME
fi
for i in trunk trunk/tools trunk/os trunk/init trunk/cmd trunk/esjs
do
(cd $i; aclocal; autoconf; automake -a --foreign)
done
for i in trunk/esidl
do
(cd $i; aclocal; autoconf; libtoolize --force; automake -a --
foreign)
done
else
cd trunk
svn update
cd ..
fi
At revision 1916.

# Building development tools
if [ ! -d local ];
then
mkdir local
cd local
CFLAGS=-g CXXFLAGS=-g ../trunk/configure --prefix=$ES_SDK --libdir=
$ES_SDK/lib.local
else
cd local
fi
make
Making all in esidl
make[1]: Entering directory `/home/mikhail-pc/es/local/esidl'
make all-recursive
make[2]: Entering directory `/home/mikhail-pc/es/local/esidl'
Making all in .
make[3]: Entering directory `/home/mikhail-pc/es/local/esidl'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/mikhail-pc/es/local/esidl'
Making all in testsuite
make[3]: Entering directory `/home/mikhail-pc/es/local/esidl/
testsuite'
Making all in .
make[4]: Entering directory `/home/mikhail-pc/es/local/esidl/
testsuite'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/mikhail-pc/es/local/esidl/testsuite'
Making all in runtime
make[4]: Entering directory `/home/mikhail-pc/es/local/esidl/testsuite/
runtime'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/mikhail-pc/es/local/esidl/testsuite/
runtime'
make[3]: Leaving directory `/home/mikhail-pc/es/local/esidl/testsuite'
Making all in java
make[3]: Entering directory `/home/mikhail-pc/es/local/esidl/java'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/mikhail-pc/es/local/esidl/java'
Making all in cplusplus
make[3]: Entering directory `/home/mikhail-pc/es/local/esidl/
cplusplus'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/mikhail-pc/es/local/esidl/cplusplus'
Making all in npapi
make[3]: Entering directory `/home/mikhail-pc/es/local/esidl/npapi'
make[3]: Circular org/w3c/dom/Node.cpp <- org/w3c/dom/Node.cpp
dependency dropped.
make[3]: Circular org/w3c/dom/Node.h <- org/w3c/dom/Node.h dependency
dropped.
make all-recursive
make[4]: Entering directory `/home/mikhail-pc/es/local/esidl/npapi'
Making all in .
make[5]: Entering directory `/home/mikhail-pc/es/local/esidl/npapi'
make[5]: Circular org/w3c/dom/Node.h <- org/w3c/dom/Node.h dependency
dropped.
make[5]: Circular org/w3c/dom/Node.cpp <- org/w3c/dom/Node.cpp
dependency dropped.
make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory `/home/mikhail-pc/es/local/esidl/npapi'
Making all in sample
make[5]: Entering directory `/home/mikhail-pc/es/local/esidl/npapi/
sample'
make all-am
make[6]: Entering directory `/home/mikhail-pc/es/local/esidl/npapi/
sample'
/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=
\"esidl\" -DPACKAGE_TARNAME=\"esidl\" -DPACKAGE_VERSION=\"0.1.5.1916\"
-DPACKAGE_STRING=\"esidl\ 0.1.5.1916\" -DPACKAGE_BUGREPORT=\"\" -
DPACKAGE_URL=\"\" -DYYTEXT_POINTER=1 -DSTDC_HEADERS=1 -
DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -
DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -
DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -
DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DSVN_REVISION=\"1916\" -I. -
I../../../../trunk/esidl/npapi/sample -fshort-wchar -std=gnu++0x -
Wall -I . -I ./.. -I ../../../../trunk/esidl/npapi/sample -I ../
include -I ../../../../trunk/esidl/npapi/sample/.. -I ../../../../
trunk/esidl/npapi/sample/../include -I ../../../../trunk/esidl/npapi/
sample/../../include -I ../../../../trunk/esidl/npapi/sample/../../
cplusplus -DXP_UNIX -DHAVE_CONFIG_H -fno-implicit-inline-templates -
fno-default-inline -fPIC -g -MT test.lo -MD -MP -MF .deps/test.Tpo -
c -o test.lo ../../../../trunk/esidl/npapi/sample/test.cpp
libtool: compile: g++ -DPACKAGE_NAME=\"esidl\" -DPACKAGE_TARNAME=
\"esidl\" -DPACKAGE_VERSION=\"0.1.5.1916\" "-DPACKAGE_STRING=\"esidl
0.1.5.1916\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -
DYYTEXT_POINTER=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -
DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -
DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -
DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=
\".libs/\" -DSVN_REVISION=\"1916\" -I. -I../../../../trunk/esidl/npapi/
sample -fshort-wchar -std=gnu++0x -Wall -I . -I ./.. -I ../../../../
trunk/esidl/npapi/sample -I ../include -I ../../../../trunk/esidl/
npapi/sample/.. -I ../../../../trunk/esidl/npapi/sample/../include -
I ../../../../trunk/esidl/npapi/sample/../../include -I ../../../../
trunk/esidl/npapi/sample/../../cplusplus -DXP_UNIX -DHAVE_CONFIG_H -
fno-implicit-inline-templates -fno-default-inline -fPIC -g -MT test.lo
-MD -MP -MF .deps/test.Tpo -c ../../../../trunk/esidl/npapi/sample/
test.cpp -fPIC -DPIC -o .libs/test.o
../../../../trunk/esidl/npapi/sample/test.cpp: In member function
‘void TestInstance::initialize()’:
../../../../trunk/esidl/npapi/sample/test.cpp:255: error: no matching
function for call to ‘org::w3c::dom::html::Function::call(<brace-
enclosed initializer list>)’
./../org/w3c/dom/html/Function.h:19: note: candidates are: Any
org::w3c::dom::html::Function::call(Variadic<Any>)
make[6]: *** [test.lo] Error 1
make[6]: Leaving directory `/home/mikhail-pc/es/local/esidl/npapi/
sample'
make[5]: *** [all] Error 2
make[5]: Leaving directory `/home/mikhail-pc/es/local/esidl/npapi/
sample'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/mikhail-pc/es/local/esidl/npapi'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/mikhail-pc/es/local/esidl/npapi'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/mikhail-pc/es/local/esidl'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/mikhail-pc/es/local/esidl'
make: *** [all-recursive] Error 1
estatus=$?
[ $estatus != 0 ] && exit $estatus

Shiki Okasaka

unread,
Sep 1, 2011, 12:00:10 AM9/1/11
to es-operat...@googlegroups.com
Hi,

Thanks for trying to build es!

Currently the setup script of the ES operating system has been tested
only on Fedora 15 (x86, x86-64) and Ubuntu 11.04 (x86). Sorry about
the QuickSetup wiki page has not been updated accordingly; I'll fix it
shortly.

Best,

- Shiki

2011/9/1 appu <dean...@gmail.com>:

> --
> You received this message because you are subscribed to the Google Groups "es-operating-system" group.
> To post to this group, send email to es-operat...@googlegroups.com.
> To unsubscribe from this group, send email to es-operating-sy...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/es-operating-system?hl=en.
>
>

Reply all
Reply to author
Forward
0 new messages