1. Euphoria 4.0 build on Linux Ubuntu

Jeremy -

I'm sure you have provided instruction on how to build Euphoria 4.0 on Linux, 
but I can't seem to find it.

I can use the command line svn you posted to get euphoria-4.0.  
I run this from my home directory.

Then I get lost.  I have gone to the source directory in the new euphoria-4.0 
directory, run ./configure, and run make only to get a bunch of error messages.
I have tried numerous other things (including running buildu) but again with
only errors to show for my effort.

Clearly, as a very part time programmer newly converted from windows,
I need guidance.

Can you point me to help?

Thanks!  And thanks for all your work on 4.0.

George

new topic     » topic index » view message » categorize

2. Re: Euphoria 4.0 build on Linux Ubuntu

George Orr wrote:
> 
> I'm sure you have provided instruction on how to build Euphoria 4.0 on Linux,
> but I can't seem to find it.
> 

I have not yet, sorry.

> I can use the command line svn you posted to get euphoria-4.0.  
> I run this from my home directory.
> 
> Then I get lost.  I have gone to the source directory in the new euphoria-4.0
> 
> directory, run ./configure, and run make only to get a bunch of error
> messages.

You're doing a fine job so far. Everything you've done is right. Can you paste
here what the output of the configure is? That obviously should not be erring out
on you. So we need to solve that step first.

--
Jeremy Cowgar
http://jeremy.cowgar.com

new topic     » goto parent     » topic index » view message » categorize

3. Re: Euphoria 4.0 build on Linux Ubuntu

Jeremy -  Thanks for the help!

I downloaded build 478 of euphoria-4.0 into my home directory.

I went to the source subdirectory and ran ./configure > configure.txt

After completion, I got two messages not in the configure.txt file which
follows:

/bin/bash: /home/george/euphoria-4.0/source/pcre/missing: No such file or
directory
configure: WARNING: 'missing' script is too old or missing

Output from configure was

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 98304
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking for correct ltmain.sh version... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking whether ln -s works... yes
checking for ANSI C header files... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking windows.h usability... no
checking windows.h presence... no
checking for windows.h... no
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking for long long... yes
checking for unsigned long long... yes
checking for bcopy... yes
checking for memmove... yes
checking for strerror... yes
checking for strtoq... yes
checking for strtoll... yes
checking for _strtoi64... no
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for gzopen in -lz... yes
checking bzlib.h usability... no
checking bzlib.h presence... no
checking for bzlib.h... no
checking for BZ2_bzopen in -lbz2... no
checking readline/readline.h usability... yes
checking readline/readline.h presence... yes
checking for readline/readline.h... yes
checking readline/history.h usability... yes
checking readline/history.h presence... yes
checking for readline/history.h... yes
checking for readline in -lreadline... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libpcre.pc
config.status: creating libpcrecpp.pc
config.status: creating pcre-config
config.status: creating pcre.h
config.status: creating pcre_stringpiece.h
config.status: creating pcrecpparg.h
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing script-chmod commands
config.status: executing delete-old-chartables commands

pcre-7.6 configuration summary:

    Install prefix .................. : /usr/local
    C preprocessor .................. : gcc -E
    C compiler ...................... : gcc
    C++ preprocessor ................ : g++ -E
    C++ compiler .................... : g++
    Linker .......................... : /usr/bin/ld
    C preprocessor flags ............ : 
    C compiler flags ................ : -O2
    C++ compiler flags .............. : -O2
    Linker flags .................... : 
    Extra libraries ................. : 

    Build C++ library ............... : no
    Enable UTF-8 support ............ : yes
    Unicode properties .............. : no
    Newline char/sequence ........... : lf
    \R matches only ANYCRLF ......... : no
    EBCDIC coding ................... : no
    Rebuild char tables ............. : no
    Use stack recursion ............. : yes
    POSIX mem threshold ............. : 10
    Internal link size .............. : 2
    Match limit ..................... : 10000000
    Match limit recursion ........... : MATCH_LIMIT
    Build shared libs ............... : no
    Build static libs ............... : yes
    Link pcregrep with libz ......... : no
    Link pcregrep with libbz2 ....... : no
    Link pcretest with libreadline .. : no

new topic     » goto parent     » topic index » view message » categorize

4. Re: Euphoria 4.0 build on Linux Ubuntu

That output looks fine. You should be able to simply type make now.

--
Jeremy Cowgar
http://jeremy.cowgar.com

new topic     » goto parent     » topic index » view message » categorize

5. Re: Euphoria 4.0 build on Linux Ubuntu

George Orr wrote:
> 
> 
> Jeremy -  Thanks for the help!
> 
> I downloaded build 478 of euphoria-4.0 into my home directory.
> 
> I went to the source subdirectory and ran ./configure > configure.txt
> 
> After completion, I got two messages not in the configure.txt file which
> follows:
> 
> /bin/bash: /home/george/euphoria-4.0/source/pcre/missing: No such file or
> directory
> configure: WARNING: 'missing' script is too old or missing
> 
> Output from configure was
> 
> checking for a BSD-compatible install... /usr/bin/install -c

<snip>

That output was actually from pcre's configure.  What error do you get after
running make?

Matt

new topic     » goto parent     » topic index » view message » categorize

6. Re: Euphoria 4.0 build on Linux Ubuntu

Jeremy -  I still have a problem.  I have redirected the make output and copied
below.

mkdir -p intobj/back
mkdir -p transobj/back
mkdir -p libobj/back
mkdir -p backobj/back
cd pcre && make libpcre.la
make[1]: Entering directory `/home/george/euphoria-4.0/source/pcre'
/bin/bash ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.     -O2
-MT pcre_compile.lo -MD -MP -MF .deps/pcre_compile.Tpo -c -o pcre_compile.lo
pcre_compile.c
gcc -DHAVE_CONFIG_H -I. -O2 -MT pcre_compile.lo -MD -MP -MF
 .deps/pcre_compile.Tpo -c pcre_compile.c -o pcre_compile.o
mv -f .deps/pcre_compile.Tpo .deps/pcre_compile.Plo
/bin/bash ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.     -O2
-MT pcre_config.lo -MD -MP -MF .deps/pcre_config.Tpo -c -o pcre_config.lo
pcre_config.c
gcc -DHAVE_CONFIG_H -I. -O2 -MT pcre_config.lo -MD -MP -MF
 .deps/pcre_config.Tpo -c pcre_config.c -o pcre_config.o
mv -f .deps/pcre_config.Tpo .deps/pcre_config.Plo
/bin/bash ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.     -O2
-MT pcre_dfa_exec.lo -MD -MP -MF .deps/pcre_dfa_exec.Tpo -c -o pcre_dfa_exec.lo
pcre_dfa_exec.c
gcc -DHAVE_CONFIG_H -I. -O2 -MT pcre_dfa_exec.lo -MD -MP -MF
 .deps/pcre_dfa_exec.Tpo -c pcre_dfa_exec.c -o pcre_dfa_exec.o
mv -f .deps/pcre_dfa_exec.Tpo .deps/pcre_dfa_exec.Plo
/bin/bash ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.     -O2
-MT pcre_exec.lo -MD -MP -MF .deps/pcre_exec.Tpo -c -o pcre_exec.lo pcre_exec.c
gcc -DHAVE_CONFIG_H -I. -O2 -MT pcre_exec.lo -MD -MP -MF .deps/pcre_exec.Tpo -c
 pcre_exec.c -o pcre_exec.o
mv -f .deps/pcre_exec.Tpo .deps/pcre_exec.Plo
/bin/bash ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.     -O2
-MT pcre_fullinfo.lo -MD -MP -MF .deps/pcre_fullinfo.Tpo -c -o pcre_fullinfo.lo
pcre_fullinfo.c
gcc -DHAVE_CONFIG_H -I. -O2 -MT pcre_fullinfo.lo -MD -MP -MF
 .deps/pcre_fullinfo.Tpo -c pcre_fullinfo.c -o pcre_fullinfo.o
mv -f .deps/pcre_fullinfo.Tpo .deps/pcre_fullinfo.Plo
/bin/bash ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.     -O2
-MT pcre_get.lo -MD -MP -MF .deps/pcre_get.Tpo -c -o pcre_get.lo pcre_get.c
gcc -DHAVE_CONFIG_H -I. -O2 -MT pcre_get.lo -MD -MP -MF .deps/pcre_get.Tpo -c
 pcre_get.c -o pcre_get.o
mv -f .deps/pcre_get.Tpo .deps/pcre_get.Plo
/bin/bash ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.     -O2
-MT pcre_globals.lo -MD -MP -MF .deps/pcre_globals.Tpo -c -o pcre_globals.lo
pcre_globals.c
gcc -DHAVE_CONFIG_H -I. -O2 -MT pcre_globals.lo -MD -MP -MF
 .deps/pcre_globals.Tpo -c pcre_globals.c -o pcre_globals.o
mv -f .deps/pcre_globals.Tpo .deps/pcre_globals.Plo
/bin/bash ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.     -O2
-MT pcre_info.lo -MD -MP -MF .deps/pcre_info.Tpo -c -o pcre_info.lo pcre_info.c
gcc -DHAVE_CONFIG_H -I. -O2 -MT pcre_info.lo -MD -MP -MF .deps/pcre_info.Tpo -c
 pcre_info.c -o pcre_info.o
mv -f .deps/pcre_info.Tpo .deps/pcre_info.Plo
/bin/bash ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.     -O2
-MT pcre_maketables.lo -MD -MP -MF .deps/pcre_maketables.Tpo -c -o
pcre_maketables.lo pcre_maketables.c
gcc -DHAVE_CONFIG_H -I. -O2 -MT pcre_maketables.lo -MD -MP -MF
 .deps/pcre_maketables.Tpo -c pcre_maketables.c -o pcre_maketables.o
mv -f .deps/pcre_maketables.Tpo .deps/pcre_maketables.Plo
/bin/bash ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.     -O2
-MT pcre_newline.lo -MD -MP -MF .deps/pcre_newline.Tpo -c -o pcre_newline.lo
pcre_newline.c
gcc -DHAVE_CONFIG_H -I. -O2 -MT pcre_newline.lo -MD -MP -MF
 .deps/pcre_newline.Tpo -c pcre_newline.c -o pcre_newline.o
mv -f .deps/pcre_newline.Tpo .deps/pcre_newline.Plo
/bin/bash ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.     -O2
-MT pcre_ord2utf8.lo -MD -MP -MF .deps/pcre_ord2utf8.Tpo -c -o pcre_ord2utf8.lo
pcre_ord2utf8.c
gcc -DHAVE_CONFIG_H -I. -O2 -MT pcre_ord2utf8.lo -MD -MP -MF
 .deps/pcre_ord2utf8.Tpo -c pcre_ord2utf8.c -o pcre_ord2utf8.o
mv -f .deps/pcre_ord2utf8.Tpo .deps/pcre_ord2utf8.Plo
/bin/bash ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.     -O2
-MT pcre_refcount.lo -MD -MP -MF .deps/pcre_refcount.Tpo -c -o pcre_refcount.lo
pcre_refcount.c
gcc -DHAVE_CONFIG_H -I. -O2 -MT pcre_refcount.lo -MD -MP -MF
 .deps/pcre_refcount.Tpo -c pcre_refcount.c -o pcre_refcount.o
mv -f .deps/pcre_refcount.Tpo .deps/pcre_refcount.Plo
/bin/bash ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.     -O2
-MT pcre_study.lo -MD -MP -MF .deps/pcre_study.Tpo -c -o pcre_study.lo
pcre_study.c
gcc -DHAVE_CONFIG_H -I. -O2 -MT pcre_study.lo -MD -MP -MF .deps/pcre_study.Tpo
 -c pcre_study.c -o pcre_study.o
mv -f .deps/pcre_study.Tpo .deps/pcre_study.Plo
/bin/bash ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.     -O2
-MT pcre_tables.lo -MD -MP -MF .deps/pcre_tables.Tpo -c -o pcre_tables.lo
pcre_tables.c
gcc -DHAVE_CONFIG_H -I. -O2 -MT pcre_tables.lo -MD -MP -MF
 .deps/pcre_tables.Tpo -c pcre_tables.c -o pcre_tables.o
mv -f .deps/pcre_tables.Tpo .deps/pcre_tables.Plo
/bin/bash ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.     -O2
-MT pcre_try_flipped.lo -MD -MP -MF .deps/pcre_try_flipped.Tpo -c -o
pcre_try_flipped.lo pcre_try_flipped.c
gcc -DHAVE_CONFIG_H -I. -O2 -MT pcre_try_flipped.lo -MD -MP -MF
 .deps/pcre_try_flipped.Tpo -c pcre_try_flipped.c -o pcre_try_flipped.o
mv -f .deps/pcre_try_flipped.Tpo .deps/pcre_try_flipped.Plo
/bin/bash ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.     -O2
-MT pcre_ucp_searchfuncs.lo -MD -MP -MF .deps/pcre_ucp_searchfuncs.Tpo -c -o
pcre_ucp_searchfuncs.lo pcre_ucp_searchfuncs.c
gcc -DHAVE_CONFIG_H -I. -O2 -MT pcre_ucp_searchfuncs.lo -MD -MP -MF
 .deps/pcre_ucp_searchfuncs.Tpo -c pcre_ucp_searchfuncs.c -o
 pcre_ucp_searchfuncs.o
mv -f .deps/pcre_ucp_searchfuncs.Tpo .deps/pcre_ucp_searchfuncs.Plo
/bin/bash ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.     -O2
-MT pcre_valid_utf8.lo -MD -MP -MF .deps/pcre_valid_utf8.Tpo -c -o
pcre_valid_utf8.lo pcre_valid_utf8.c
gcc -DHAVE_CONFIG_H -I. -O2 -MT pcre_valid_utf8.lo -MD -MP -MF
 .deps/pcre_valid_utf8.Tpo -c pcre_valid_utf8.c -o pcre_valid_utf8.o
mv -f .deps/pcre_valid_utf8.Tpo .deps/pcre_valid_utf8.Plo
/bin/bash ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.     -O2
-MT pcre_version.lo -MD -MP -MF .deps/pcre_version.Tpo -c -o pcre_version.lo
pcre_version.c
gcc -DHAVE_CONFIG_H -I. -O2 -MT pcre_version.lo -MD -MP -MF
 .deps/pcre_version.Tpo -c pcre_version.c -o pcre_version.o
mv -f .deps/pcre_version.Tpo .deps/pcre_version.Plo
/bin/bash ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.     -O2
-MT pcre_xclass.lo -MD -MP -MF .deps/pcre_xclass.Tpo -c -o pcre_xclass.lo
pcre_xclass.c
gcc -DHAVE_CONFIG_H -I. -O2 -MT pcre_xclass.lo -MD -MP -MF
 .deps/pcre_xclass.Tpo -c pcre_xclass.c -o pcre_xclass.o
mv -f .deps/pcre_xclass.Tpo .deps/pcre_xclass.Plo
rm -f pcre_chartables.c
ln -s ./pcre_chartables.c.dist pcre_chartables.c
/bin/bash ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.     -O2
-MT pcre_chartables.lo -MD -MP -MF .deps/pcre_chartables.Tpo -c -o
pcre_chartables.lo pcre_chartables.c
gcc -DHAVE_CONFIG_H -I. -O2 -MT pcre_chartables.lo -MD -MP -MF
 .deps/pcre_chartables.Tpo -c pcre_chartables.c -o pcre_chartables.o
mv -f .deps/pcre_chartables.Tpo .deps/pcre_chartables.Plo
/bin/bash ./libtool --tag=CC   --mode=link gcc  -O2 -version-info 0:1:0  -o
libpcre.la -rpath /usr/local/lib pcre_compile.lo pcre_config.lo pcre_dfa_exec.lo
pcre_exec.lo pcre_fullinfo.lo pcre_get.lo pcre_globals.lo pcre_info.lo
pcre_maketables.lo pcre_newline.lo pcre_ord2utf8.lo pcre_refcount.lo
pcre_study.lo pcre_tables.lo pcre_try_flipped.lo pcre_ucp_searchfuncs.lo
pcre_valid_utf8.lo pcre_version.lo pcre_xclass.lo pcre_chartables.lo
mkdir .libs
ar cru .libs/libpcre.a  pcre_compile.o pcre_config.o pcre_dfa_exec.o pcre_exec.o
pcre_fullinfo.o pcre_get.o pcre_globals.o pcre_info.o pcre_maketables.o
pcre_newline.o pcre_ord2utf8.o pcre_refcount.o pcre_study.o pcre_tables.o
pcre_try_flipped.o pcre_ucp_searchfuncs.o pcre_valid_utf8.o pcre_version.o
pcre_xclass.o pcre_chartables.o
ranlib .libs/libpcre.a
creating libpcre.la
(cd .libs && rm -f libpcre.la && ln -s ../libpcre.la libpcre.la)
make[1]: Leaving directory `/home/george/euphoria-4.0/source/pcre'
make exu OBJDIR=intobj EBSD=
make[1]: Entering directory `/home/george/euphoria-4.0/source'
echo Translating int.ex to create common.e main.e mode.e pathopen.e error.e
symtab.e scanner.e scientific.e emit.e parser.e opnames.e reswords.e keylist.e
global.e compress.e backend.e c_out.e cominit.e intinit.e int.ex
Translating int.ex to create common.e main.e mode.e pathopen.e error.e symtab.e
scanner.e scientific.e emit.e parser.e opnames.e reswords.e keylist.e global.e
compress.e backend.e c_out.e cominit.e intinit.e int.ex
cd ./intobj && exu -i ../../include ../ec.ex -I ../../include ../int.ex
Can't open -i.exu

Press Enter
gcc -c -w -fsigned-char -O2 -ffast-math -fomit-frame-pointer -O2 -I../
./intobj/main-.c -I/usr/share/euphoria -o./intobj/main-.o
make[1]: Leaving directory `/home/george/euphoria-4.0/source'

After this I get a few more messages:

make[1]: [intobj.main.c] Error 1 (ignored)
gcc: ./intobj/main-.c: no such file or directory
gcc: no input files
make[1]: ***[intobj/main -o] Error 1
make: [interpreter] Error 2

I hope this makes more sense to you than to me!

Thanks again!

new topic     » goto parent     » topic index » view message » categorize

7. Re: Euphoria 4.0 build on Linux Ubuntu

George Orr wrote:
> cd ./intobj && exu -i ../../include ../ec.ex -I ../../include ../int.ex
> Can't open -i.exu
> 
> Press Enter

The build file is still very sensitive and it seems that the build is only
working with people who already have Eu 4.0, is that right Matt?

Open Makefile and go to line 375. It should read:

-cd ./$(OBJDIR) && exu -i ../../include ../ec.ex -I ../../include
 ../$(EU_TARGET)

Change that to:

 -cd ./$(OBJDIR) && exu ../ec.ex ../$(EU_TARGET)

Be certain that your EUDIR is pointing to your new SVN checked out copy of 4.0
and if your EUINC is set, make sure it is pointing to your new SVN checked out
copy's include directory. You should then be good to build 4.0.

--
Jeremy Cowgar
http://jeremy.cowgar.com

new topic     » goto parent     » topic index » view message » categorize

8. Re: Euphoria 4.0 build on Linux Ubuntu

Jeremy -

I made the changes to the Makefile and adjusted my $EUDIR and $EUINC
I am still having the same problem.  It appears the exu file is not being
generated

I think I'll just wait a little longer until 4.0 becomes a bit more stable.
It was getting hard to follow some of the threads on the forum without a working
copy,
but I guess I can wait!

Thanks for trying!

new topic     » goto parent     » topic index » view message » categorize

9. Re: Euphoria 4.0 build on Linux Ubuntu

George Orr wrote:
>
> I made the changes to the Makefile and adjusted my $EUDIR and $EUINC
> I am still having the same problem.  It appears the exu file is not being
> generated
> 
> I think I'll just wait a little longer until 4.0 becomes a bit more stable.
> It was getting hard to follow some of the threads on the forum without a 
> working copy, but I guess I can wait!


Were you getting an error about mybsd not being initialized?  I fixed that.
Also the GNU build process should now be able to handle having only a v3
interpreter installed.

When you run configure, pass --with-eu3 on the command line:

 $ ./configure --with-eu3

It should set the correct environment variables when it runs the translator.

Matt

new topic     » goto parent     » topic index » view message » categorize

10. Re: Euphoria 4.0 build on Linux Ubuntu

Matt -

I did not see any errors about mybsd.

I tried again with your configure option.  Got as far as Translating int.ex

New error message is

../parser.e:1847
remove has not been declared
                   OpDefines=remove(OpDefines,idx)

George

new topic     » goto parent     » topic index » view message » categorize

11. Re: Euphoria 4.0 build on Linux Ubuntu

George Orr wrote:
> 
> 
> Matt -
> 
> I did not see any errors about mybsd.
> 
> I tried again with your configure option.  Got as far as Translating int.ex
> 
> New error message is
> 
> ../parser.e:1847
> remove has not been declared
>                    OpDefines=remove(OpDefines,idx)
> 
> George

At the top of parser.e, can you add:

include sequence.e

and tell me what happens?

--
Jeremy Cowgar
http://jeremy.cowgar.com

new topic     » goto parent     » topic index » view message » categorize

12. Re: Euphoria 4.0 build on Linux Ubuntu

Jeremy -

That seems to have done it!

I used ./configure --with-eu3 as Matt suggested and added the line to parser.e

Everything compiled, and the exu in the source directory says it is 4.0!

I'll check it out more when I get back from a business trip.

Thanks to you and Matt for your help.

George

new topic     » goto parent     » topic index » view message » categorize

13. Re: Euphoria 4.0 build on Linux Ubuntu

Jeremy Cowgar wrote:
> 
> George Orr wrote:
> > 
> > 
> > Matt -
> > 
> > I did not see any errors about mybsd.
> > 
> > I tried again with your configure option.  Got as far as Translating int.ex
> > 
> > New error message is
> > 
> > ../parser.e:1847
> > remove has not been declared
> >                    OpDefines=remove(OpDefines,idx)
> > 
> > George
> 
> At the top of parser.e, can you add:
> 
> include sequence.e
> 
> and tell me what happens?
> 
> --
> Jeremy Cowgar
> <a href="http://jeremy.cowgar.com">http://jeremy.cowgar.com</a>

Seems compiling fine on my Sidux Debian, at least I have no error messages from
make and I can get to exu 4.0 interpreter welcome message.

BTW: I can't get --prefix switch to work in configure, and I cannot install in
/usr/local a testing package, could you help with this in the script? TIA.

Please take note (if not known): in Debian there is another package named
euphoria already, and this caused me conflicts when I tried to install the 3.20
deb package with apt).

Cheers.
MBianchi

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu