Re: How do you make this Open Source work on Solaris ?
- From: Michelle <serendipity1276@xxxxxxxxx>
- Date: Sun, 19 Jul 2009 04:08:49 -0700 (PDT)
On Jul 18, 7:39 pm, Ian Collins <ian-n...@xxxxxxxxxxx> wrote:
Michelle wrote:
STEP 2: Build
amy% /usr/bin/make
Did you try gnu make (/usr/sfw/bin/gmake)?
--
Ian Collins
OK, I was able to do a package add of the ODBC drivers on Solaris
x86. So the ODBC drivers are installed on my system properly now.
Then, I went to the MDBTools folder that I just did a tar command on.
I was successful when I did this command: ./configure
I copied /usr/sfw/bin/gmake to the /usr/sbin directory (as make and
also as gmake) because /bin/bash was looking for make
But when I went to use /usr/sfw/bin/gmake , I got the following
failure at the end:
.........
-g -O2 -DSQL -c -o worktable.lo `test -f 'worktable.c' || echo
'./'`worktable.c
gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I/usr/
include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -DSQL -c
worktable.c -fPIC -DPIC -o .libs/worktable.o
gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I/usr/
include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -DSQL -c
worktable.c -o worktable.o >/dev/null 2>&1
source='options.c' object='options.lo' libtool=yes \
depfile='.deps/options.Plo' tmpdepfile='.deps/options.TPlo' \
depmode=none /bin/bash ../../depcomp \
/bin/bash ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -
I../../include -I../../include -I/usr/include/glib-2.0 -I/usr/lib/
glib-2.0/include -g -O2 -DSQL -c -o options.lo `test -f
'options.c' || echo './'`options.c
gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I/usr/
include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -DSQL -c
options.c -fPIC -DPIC -o .libs/options.o
gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I/usr/
include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -DSQL -c options.c
-o options.o >/dev/null 2>&1
source='iconv.c' object='iconv.lo' libtool=yes \
depfile='.deps/iconv.Plo' tmpdepfile='.deps/iconv.TPlo' \
depmode=none /bin/bash ../../depcomp \
/bin/bash ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -
I../../include -I../../include -I/usr/include/glib-2.0 -I/usr/lib/
glib-2.0/include -g -O2 -DSQL -c -o iconv.lo `test -f 'iconv.c' ||
echo './'`iconv.c
gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I/usr/
include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -DSQL -c iconv.c -
fPIC -DPIC -o .libs/iconv.o
gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I/usr/
include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -DSQL -c iconv.c -
o iconv.o >/dev/null 2>&1
/bin/bash ../../libtool --mode=link gcc -g -O2 -DSQL -o libmdb.la -
rpath /usr/local/lib catalog.lo mem.lo file.lo kkd.lo table.lo
data.lo dump.lo backend.lo money.lo sargs.lo index.lo like.lo write.lo
stats.lo map.lo props.lo worktable.lo options.lo iconv.lo -
lglib-2.0 -lm
gcc -shared -Wl,-h -Wl,libmdb.0 -o .libs/libmdb.0.0.0 .libs/
catalog.o .libs/mem.o .libs/file.o .libs/kkd.o .libs/table.o .libs/
data.o .libs/dump.o .libs/backend.o .libs/money.o .libs/sargs.o .libs/
index.o .libs/like.o .libs/write.o .libs/stats.o .libs/map.o .libs/
props.o .libs/worktable.o .libs/options.o .libs/iconv.o -lglib-2.0 -
lm -lc
(cd .libs && rm -f libmdb.0 && ln -s libmdb.0.0.0 libmdb.0)
(cd .libs && rm -f libmdb && ln -s libmdb.0.0.0 libmdb)
false cru .libs/libmdb.a catalog.o mem.o file.o kkd.o table.o data.o
dump.o backend.o money.o sargs.o index.o like.o write.o stats.o map.o
props.o worktable.o options.o iconv.o
make[2]: *** [libmdb.la] Error 1
make[2]: Leaving directory `/temp/mdbtools-0.6pre1/src/libmdb'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/temp/mdbtools-0.6pre1/src/libmdb/src'
gmake: *** [all-recursive] Error 1
I ran the gmake again, and this is what I got:
# /usr/sfw/bin/gmake
Making all in src
make[1]: Entering directory `/temp/mdbtools-0.6pre1/src'
Making all in libmdb
make[2]: Entering directory `/tmp/mdbtools-0.6pre1/src/libmdb'
/bin/bash ../../libtool --mode=link gcc -g -O2 -DSQL -o libmdb.la -
rpath /usr/local/lib catalog.lo mem.lo file.lo kkd.lo table.lo
data.lo dump.lo backend.lo money.lo sargs.lo index.lo like.lo write.lo
stats.lo map.lo props.lo worktable.lo options.lo iconv.lo -
lglib-2.0 -lm
rm -fr .libs/libmdb.0 .libs/libmdb.0.0.0
gcc -shared -Wl,-h -Wl,libmdb.0 -o .libs/libmdb.0.0.0 .libs/
catalog.o .libs/mem.o .libs/file.o .libs/kkd.o .libs/table.o .libs/
data.o .libs/dump.o .libs/backend.o .libs/money.o .libs/sargs.o .libs/
index.o .libs/like.o .libs/write.o .libs/stats.o .libs/map.o .libs/
props.o .libs/worktable.o .libs/options.o .libs/iconv.o -lglib-2.0 -
lm -lc
(cd .libs && rm -f libmdb.0 && ln -s libmdb.0.0.0 libmdb.0)
(cd .libs && rm -f libmdb && ln -s libmdb.0.0.0 libmdb)
false cru .libs/libmdb.a catalog.o mem.o file.o kkd.o table.o data.o
dump.o backend.o money.o sargs.o index.o like.o write.o stats.o map.o
props.o worktable.o options.o iconv.o
make[2]: *** [libmdb.la] Error 1
make[2]: Leaving directory `/temp/mdbtools-0.6pre1/src/libmdb'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/temp/mdbtools-0.6pre1/src'
gmake: *** [all-recursive] Error 1
So, I never made it to the 3rd and final step, which is : gmake
install
It's 4 am now, so I'll try it again tomorrow. Thanks for your
inputs, everyone.
If you can make this work on your Solaris x86, please let me know.
.
- References:
- How do you make this Open Source work on Solaris ?
- From: Michelle
- Re: How do you make this Open Source work on Solaris ?
- From: Gordon Burditt
- Re: How do you make this Open Source work on Solaris ?
- From: Michelle
- Re: How do you make this Open Source work on Solaris ?
- From: Ian Collins
- How do you make this Open Source work on Solaris ?
- Prev by Date: ▶▶▶▶▶China *** NHL Jerseys,MLB Jerseys,NFL Jerseys, www.guomeitrade.com ***
- Next by Date: Re: Is there any tool to view virtual memory map in Any unix flavour?
- Previous by thread: Re: How do you make this Open Source work on Solaris ?
- Next by thread: Re: How do you make this Open Source work on Solaris ?
- Index(es):