Install

Help
2009-01-21
2013-05-14
  • Gene Arboit
    Gene Arboit
    2009-01-21

    Hi,

    In trying to install f2j, I've uncompressed f2j-0.8.1.zip and ran "./configure". I had to run "export CC='gcc -maix64'" first.

    According to the documentation, the next step is to run "make". I get the error:

            my prompt>  :make

                    rm -f *.o *.class f2jparse.c y.tab.c y.tab.h  tmp f2j f2java core a.out *.output *~  *.vcg

                    cd test; make clean

            /usr/bin/sh: test:  not found.

            make: 1254-004 The error code from the last command is 1.

            Stop.

    Looking at the Makefile, I take it that f2java is to be build at some point, so these lines are executed:

            f2java: libbytecode/libbytecode.a util/f2jutil.jar

               cd src; $(MAKE)

    Then the Makefile in src seems, somehow, to get to these lines:

            clean:

                rm -f *.o *.class f2jparse.c y.tab.c y.tab.h \

                tmp f2j f2java core a.out *.output *~  *.vcg

                cd test; $(MAKE) clean

    ... since this is the only place that the directory "test" is mentioned. But there is no such directory anywhere in the downloaded project... Such a directory should also have a Makefile in it... should test be another directory?

    Thanks for any help!

    Gene

     
    • Gene Arboit
      Gene Arboit
      2009-01-21

      Actually, this probably answers my question : http://f2j.cvs.sourceforge.net/viewvc/f2j/f2j/src/?sortby=log

      Slowly learning how to use SourceForge... :-),

      Gene

       
      • Gene Arboit
        Gene Arboit
        2009-01-21

        With the new code, I can run "make" without errors, but I do not get any executable, in particular there is no trace of f2j or f2java.

        The messages I get from make are the following. Is there anything I am missing? Many thanks for any help!!

        my prompt> make
                cd libbytecode; make
                gcc -maix64 -g -Wall -g -O2 -DBC_VIEW -c globals.c
                gcc -maix64 -g -Wall -g -O2 -DBC_VIEW -c dlist.c
                gcc -maix64 -g -Wall -g -O2 -DBC_VIEW -c constant_pool.c
                gcc -maix64 -g -Wall -g -O2 -DBC_VIEW -c api.c
                gcc -maix64 -g -Wall -g -O2 -DBC_VIEW -c class.c
                /usr/bin/ar -r libbytecode.a dlist.o constant_pool.o  api.o class.o globals.o
        ar: Creating an archive file libbytecode.a.
        Target "default" is up to date.
                cd util; make
                mkdir -p obj
                /usr/java5_64/bin/javac -source 1.2 -target 1.2 -d obj org/j_paine/formatter/*.java
                /usr/java5_64/bin/javac -source 1.2 -target 1.2 -d obj org/netlib/util/*.java
                cd obj; jar cvf ../f2jutil.jar .
        added manifest
        adding: org/(in = 0) (out= 0)(stored 0%)
        adding: org/j_paine/(in = 0) (out= 0)(stored 0%)
        adding: org/j_paine/formatter/(in = 0) (out= 0)(stored 0%)
        adding: org/j_paine/formatter/EndOfFileWhenStartingReadException.class(in = 838) (out= 470)(deflated 43%)
        adding: org/j_paine/formatter/InputFormatException.class(in = 314) (out= 235)(deflated 25%)
        adding: org/j_paine/formatter/FormatParser.class(in = 8410) (out= 3954)(deflated 52%)
        adding: org/j_paine/formatter/FormatParserConstants.class(in = 1049) (out= 579)(deflated 44%)
        adding: org/j_paine/formatter/ParseException.class(in = 2764) (out= 1547)(deflated 44%)
        adding: org/j_paine/formatter/FormatElement.class(in = 389) (out= 252)(deflated 35%)
        adding: org/j_paine/formatter/FormatUniv.class(in = 565) (out= 310)(deflated 45%)
        adding: org/j_paine/formatter/FormatSlash.class(in = 919) (out= 462)(deflated 49%)
        adding: org/j_paine/formatter/FormatString.class(in = 1498) (out= 733)(deflated 51%)
        adding: org/j_paine/formatter/Format.class(in = 2106) (out= 1063)(deflated 49%)
        adding: org/j_paine/formatter/FormatRepeatedItem.class(in = 1347) (out= 679)(deflated 49%)
        adding: org/j_paine/formatter/FormatParserTokenManager.class(in = 6267) (out= 3586)(deflated 42%)
        adding: org/j_paine/formatter/SimpleCharStream.class(in = 6083) (out= 2900)(deflated 52%)
        adding: org/j_paine/formatter/Token.class(in = 612) (out= 358)(deflated 41%)
        adding: org/j_paine/formatter/FormatOutputList.class(in = 433) (out= 265)(deflated 38%)
        adding: org/j_paine/formatter/OutputFormatException.class(in = 315) (out= 233)(deflated 26%)
        adding: org/j_paine/formatter/FormatInputList.class(in = 491) (out= 253)(deflated 48%)
        adding: org/j_paine/formatter/InputStreamAndBuffer.class(in = 2265) (out= 1224)(deflated 45%)
        adding: org/j_paine/formatter/FormatMap.class(in = 276) (out= 214)(deflated 22%)
        adding: org/j_paine/formatter/InvalidFormatException.class(in = 316) (out= 234)(deflated 25%)
        adding: org/j_paine/formatter/EndOfVectorOnWriteException.class(in = 736) (out= 437)(deflated 40%)
        adding: org/j_paine/formatter/LineMissingOnReadException.class(in = 797) (out= 472)(deflated 40%)
        adding: org/j_paine/formatter/IOExceptionOnReadException.class(in = 742) (out= 431)(deflated 41%)
        adding: org/j_paine/formatter/DataMissingOnReadException.class(in = 707) (out= 407)(deflated 42%)
        adding: org/j_paine/formatter/Formatter.class(in = 3614) (out= 1479)(deflated 59%)
        adding: org/j_paine/formatter/FormatIOElement.class(in = 2060) (out= 841)(deflated 59%)
        adding: org/j_paine/formatter/FormatP.class(in = 909) (out= 453)(deflated 50%)
        adding: org/j_paine/formatter/FormatX.class(in = 763) (out= 408)(deflated 46%)
        adding: org/j_paine/formatter/FormatA.class(in = 1520) (out= 839)(deflated 44%)
        adding: org/j_paine/formatter/IllegalObjectOnWriteException.class(in = 854) (out= 482)(deflated 43%)
        adding: org/j_paine/formatter/StringTooWideOnWriteException.class(in = 798) (out= 464)(deflated 41%)
        adding: org/j_paine/formatter/InvalidNumberOnReadException.class(in = 838) (out= 456)(deflated 45%)
        adding: org/j_paine/formatter/FormatI.class(in = 2460) (out= 1180)(deflated 52%)
        adding: org/j_paine/formatter/NumberTooWideOnWriteException.class(in = 855) (out= 481)(deflated 43%)
        adding: org/j_paine/formatter/FormatL.class(in = 2454) (out= 1251)(deflated 49%)
        adding: org/j_paine/formatter/FormatF.class(in = 2510) (out= 1217)(deflated 51%)
        adding: org/j_paine/formatter/FormatE.class(in = 2503) (out= 1204)(deflated 51%)
        adding: org/j_paine/formatter/VectorAndPointer.class(in = 1710) (out= 798)(deflated 53%)
        adding: org/j_paine/formatter/StringsHashtableAndPointer.class(in = 1688) (out= 797)(deflated 52%)
        adding: org/j_paine/formatter/EndOfKeyVectorOnReadException.class(in = 760) (out= 442)(deflated 41%)
        adding: org/j_paine/formatter/KeyNotStringOnReadException.class(in = 814) (out= 465)(deflated 42%)
        adding: org/j_paine/formatter/UnmatchedStringOnReadException.class(in = 819) (out= 456)(deflated 44%)
        adding: org/j_paine/formatter/Parsers.class(in = 903) (out= 501)(deflated 44%)
        adding: org/j_paine/formatter/NumberParser.class(in = 5061) (out= 2326)(deflated 54%)
        adding: org/j_paine/formatter/NumberParserConstants.class(in = 778) (out= 468)(deflated 39%)
        adding: org/j_paine/formatter/NumberParserTokenManager.class(in = 6189) (out= 3459)(deflated 44%)
        adding: org/j_paine/formatter/PrintfFormat$ConversionSpecification.class(in = 24754) (out= 12609)(deflated 49%)
        adding: org/j_paine/formatter/PrintfFormat.class(in = 5533) (out= 2746)(deflated 50%)
        adding: org/j_paine/formatter/TokenMgrError.class(in = 2053) (out= 1173)(deflated 42%)
        adding: org/netlib/(in = 0) (out= 0)(stored 0%)
        adding: org/netlib/util/(in = 0) (out= 0)(stored 0%)
        adding: org/netlib/util/ArraySpec.class(in = 1218) (out= 630)(deflated 48%)
        adding: org/netlib/util/Dummy.class(in = 849) (out= 470)(deflated 44%)
        adding: org/netlib/util/EasyIn.class(in = 5810) (out= 2619)(deflated 54%)
        adding: org/netlib/util/Etime.class(in = 607) (out= 425)(deflated 29%)
        adding: org/netlib/util/MatConv.class(in = 1514) (out= 711)(deflated 53%)
        adding: org/netlib/util/Second.class(in = 348) (out= 259)(deflated 25%)
        adding: org/netlib/util/StrictUtil.class(in = 1634) (out= 786)(deflated 51%)
        adding: org/netlib/util/Util.class(in = 5049) (out= 2598)(deflated 48%)
        adding: org/netlib/util/StringW.class(in = 286) (out= 220)(deflated 23%)
        adding: org/netlib/util/booleanW.class(in = 254) (out= 210)(deflated 17%)
        adding: org/netlib/util/doubleW.class(in = 252) (out= 202)(deflated 19%)
        adding: org/netlib/util/floatW.class(in = 250) (out= 211)(deflated 15%)
        adding: org/netlib/util/intW.class(in = 246) (out= 206)(deflated 16%)
                cd src; make
                rm -f *.o *.class f2jparse.c y.tab.c y.tab.h  tmp f2j f2java core a.out *.output *~  *.vcg
                cd test; make clean
                /bin/rm -f Intrinsic.class Achk.class Dchk.class  Intrinsic.java Achk.java Dchk.java  Intrinsic.f2j *.old f77_test
        Target ".PHONY" is up to date.
                cd goto_trans; make
                gcc -maix64 -c -Wall -g -O2 byte.c
                gcc -maix64 -c -Wall -g -O2 class.c
                gcc -maix64 -c -Wall -g -O2 dump.c
                gcc -maix64 -c -Wall -g -O2 main.c
                gcc -maix64 -c -Wall -g -O2 symtab.c
                gcc -maix64 -Wall -g -O2 -o javab byte.o class.o dump.o main.o symtab.o
        Target "all" is up to date.