Kevin Glynn wrote:
Hi Paolo,
QTk is part of the mozart standard library, maybe that is distributed
separately on FreeBSD?
Looks like it's not distributed :(
Otherwise, there is a source tar ball for the
standard library available from the download area:
http://www.mozart-oz.org/download/view.cgi?action=tar&version=1.3.1
ok, downloaded.
So you could build and install it yourself. Shout if you need more
help.
Shouting :)
runned configure:
127> ./configure
loading cache ./config.cache
checking whether make sets ${MAKE}... (cached) yes
checking for ozengine... (cached) /usr/local/bin/ozengine
checking for oztool... (cached) /usr/local/bin/oztool
checking for a BSD compatible install... (cached) /usr/bin/install -c
updating cache ./config.cache
creating ./config.status
creating Makefile
configuring in ozmake
running /bin/sh
/usr/home/paolino/mozart-1.3.1.20040616-std/ozmake/configure
--cache-file=.././config.cache
--srcdir=/usr/home/paolino/mozart-1.3.1.20040616-std/ozmake
configure: loading cache .././config.cache
checking build system type... (cached) i386-unknown-freebsd5.4
checking host system type... (cached) i386-unknown-freebsd5.4
checking whether make sets ${MAKE}... (cached) yes
checking for ozengine... (cached) /usr/local/bin/ozengine
checking for ozc... (cached) /usr/local/bin/ozc
checking for ozl... (cached) /usr/local/bin/ozl
checking for oztool... (cached) /usr/local/bin/oztool
checking for xsltproc... (cached) /usr/local/bin/xsltproc
checking for lynx... no
checking for lynx.exe... no
checking for elinks... (cached) /usr/local/bin/elinks
updating cache .././config.cache
configure: creating ./config.status
config.status: creating Makefile
the makefile is attached
running gmake fails like this ...
130> setenv PREFIX /usr/local
~/mozart-1.3.1.20040616-std [EMAIL PROTECTED]:08 Sun 27
Nov]
131> gmake
cd ozmake && gmake ozmake.ozf
gmake[1]: Entering directory
`/usr/home/paolino/mozart-1.3.1.20040616-std/ozmake'
/usr/local/bin/ozengine /usr/local/bin/ozc -z 9 -c Main.oz -o Main.ozf
*** error while reporting error ***
original exception:
system(module(notFound load 'x-oz://system/Application.ozf'))
gmake[1]: *** [Main.ozf] Error 1
gmake[1]: Leaving directory
`/usr/home/paolino/mozart-1.3.1.20040616-std/ozmake'
gmake: *** [build.ozmake] Error 2
Exit 2
looks like the PREFIX is wrong but ......
145> cd ozmake
146> /usr/local/bin/ozengine /usr/local/bin/ozc -z
9 -c Main.oz -o Main.ozf
147> ls *.ozf
Main.ozf
mmmhh it compiled . Who knows :(
Thanks again (forever ?)
Paolino
# Generated automatically from Makefile.in by configure.
VPATH = /usr/home/paolino/mozart-1.3.1.20040616-std
SRCDIR = /usr/home/paolino/mozart-1.3.1.20040616-std
PREFIX = /usr/local/oz
CYGPATH = $(SRCDIR)/cygpath.sh
CYG_PREFIX = $(shell $(CYGPATH) $(PREFIX))
CYG_SRCDIR = $(shell $(CYGPATH) $(SRCDIR))
OZENGINE = /usr/local/bin/ozengine
BUILDDIR = /usr/home/paolino/mozart-1.3.1.20040616-std
CYG_BUILDDIR_OZMAKE = $(shell $(CYGPATH) $(BUILDDIR)/ozmake)
OZTOOL = /usr/local/bin/oztool
PLATFORM = $(shell $(OZTOOL) platform)
NOTDIRSRCDIR = $(notdir $(SRCDIR))
BUILDDATE = $(shell date '+%Y%m%d')
VERSION = $(shell $(OZTOOL) version)
ifeq ($(PLATFORM),win32-i486)
OZEMULATOR = $(shell $(CYGPATH) $(PREFIX)/platform/win32-i486/emulator.dll)
export OZEMULATOR
endif
all: build.ozmake
$(OZENGINE) ozmake/ozmake.ozf --prefix=$(CYG_PREFIX)
--srcdir=$(CYG_SRCDIR)
build.ozmake:
cd ozmake && $(MAKE) ozmake.ozf
install: all
$(OZENGINE) ozmake/ozmake.ozf --prefix=$(CYG_PREFIX)
--srcdir=$(CYG_SRCDIR) --install --nosavedb
$(OZENGINE) ozmake/ozmake.ozf --prefix=$(CYG_PREFIX)
--srcdir=$(CYG_SRCDIR)/ozmake --builddir=$(CYG_BUILDDIR_OZMAKE) --install
--nosavedb
export CLEANDIR
clean:
$(MAKE) CLEANDIR="$(BUILDDIR)" clean.dir
$(MAKE) CLEANDIR="$(BUILDDIR)/adt" clean.dir
$(MAKE) CLEANDIR="$(BUILDDIR)/os" clean.dir
$(MAKE) CLEANDIR="$(BUILDDIR)/wp" clean.dir
$(MAKE) CLEANDIR="$(BUILDDIR)/wp/qhtml" clean.dir
$(MAKE) CLEANDIR="$(BUILDDIR)/wp/qtk" clean.dir
$(MAKE) CLEANDIR="$(BUILDDIR)/xml" clean.dir
cd ozmake && $(MAKE) clean
clean.dir:
-cd $(CLEANDIR) && rm -f *~ *.ozf
distclean: clean
-cd ozmake && $(MAKE) distclean
-rm -f Makefile config.cache config.log config.status
######################################################################
# source tarball
######################################################################
COMPRESS= gzip -9
TAR= tar
PACKDIR= /tmp/pack
INSTALL_DIR= /usr/bin/install -c -d
src: $(PACKDIR)
echo "[" $(NOTDIRSRCDIR) "]"
test -n "$(NOTDIRSRCDIR)" || { echo "bad"; exit 1; }
## Create empty temp directory
-rm -rf $(PACKDIR)/mozart-$(VERSION).$(BUILDDATE)-std
mkdir $(PACKDIR)/mozart-$(VERSION).$(BUILDDATE)-std
## Move source files to temp directory
cd $(PACKDIR)/mozart-$(VERSION).$(BUILDDATE)-std && \
((cd $(SRCDIR) && $(TAR) -cf - .) | tar -xf -)
## Remove CVS cruft
cd $(PACKDIR) && \
(tbr=`find $(PACKDIR)/mozart-$(VERSION).$(BUILDDATE)-std -name CVS
-type d 2>/dev/null` ; \
rm -rf $$tbr ; \
find $(PACKDIR)/mozart-$(VERSION).$(BUILDDATE)-std -name '.cvsignore'
-type f -exec rm -f '{}' ';' ;) \
## tar up and compress
(cd $(PACKDIR) && $(TAR) -cf - mozart-$(VERSION).$(BUILDDATE)-std) | \
$(COMPRESS) > mozart-$(VERSION).$(BUILDDATE)-std.tar.gz
## remove temp directory
rm -rf $(PACKDIR)/mozart-$(VERSION).$(BUILDDATE)-std
$(PACKDIR):
INSTALL_DIR_CHMOD=777; export INSTALL_DIR_CHMOD && $(INSTALL_DIR) $@
_________________________________________________________________________________
mozart-users mailing list
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users