Where is the documentation on the Java command line options.

I know you can get them by running java.exe, but does Sun have a web page with a little more detail?

Googling for
java command line options site:java.sun.com
Found this for 1.4. I imagine you should be able to find something similar for 5.0.
http://java.sun.com/j2se/1.4.2/docs/tooldocs/windows/java.html

Similar Messages

  • JAVA command line options -cp and -jar don't work together?

    Running JSDK 1.4.2 under Windows. I have a Java application that tries to dynamically load a class name that the user enters as follows:
    try {
    classResult = java.lang.Class.forName(strFilterName);
    catch (ExceptionInInitializerError e) {
    strErrorMessage = "ExceptionInInitializerError loading class: " + strFilterName;
    catch (LinkageError e) {
    strErrorMessage = "LinkageError loading class: " + strFilterName;
    catch (ClassNotFoundException e) {
    strErrorMessage = "ClassNotFoundException loading class: " + strFilterName;
    This works fine if the classes that make up my application are left as class files in the classpath, but fails to work if they have been collected and run from a JAR file. Note: I can even dynamically load the class when running from the JAR file, if the class I'm trying to load is within that JAR file too. The problem really occurrs when the dynamically loaded class is located someplace else in my classpath. I've tried using various combinations of the "-cp" and "-jar" Java command line options - but when loading and running from a JAR file - the "-cp" parameters seem to be ignored. Is this a bug? Has anyone ever seen this before?
    I run my program from the JAR file using this command:
    java -cp .;e:\entmgr\filters -jar EntMgr.jar
    Where "e:\entmgr\filters" is where the class I'm trying to dynamically load is. (This class has no package name, but loads perfectly as long as I'm not running the application from the JAR file). The class name specified by the user has to be fully specified with a package name (if it has one).
    I have tried forcing the "java.lang.Class.forName(strFilterName);" call to use the system class loader, the parent of the system class loaded, and even the null bootstrap class loader - all with no success.
    I am suspecting that the class loader that is loading and running my main program from the JAR file, is just not paying any attention to the "-cp" parameter when the "-jar" parameter is present. Indeed, I have never seen any change in the failure, no matter what I put in the "-cp" parameter when using the JAR file.
    When I run this without using the JAR file, here is the command I execute:
    java -cp .;davidp\snmp;filters davidp.snmp.EntMgr
    Where this is executed in a directory that has a "filters" and "davidp\snmp" directory. In this case, because the "filters" directory is in my class path - I can dynamically load my class from it using just its simple name (i.e. "TestTrapFilter").
    So, is there some bug that precludes the "-cp" parameter from working correctly when the "-jar" parameter is used? Is there some other way to initialize or set up the classloader I'm using, so it can find things outside of the JAR file I'm running from? I would hope that it is possible to get the same behavior from my program, no matter if it is run from a JAR file or not.
    Thanks for any assistence!
    Dave

    These posts are pretty old, but this page came up in a google search while I was having the same problem, so I thought I would throw my own (Later found) solution in.
    The -cp and -jar options did not work together for me, but I later learned that they didn't really have to (and you don't have to mess with jar manifest files).
    While on the command line, if you want to set a specific class path and also run a jar, all you need to do is add the jar to whatever extra class path you need to use in the -cp <arg>, and then specify which class you want run from inside the jar.
    IE:
    java -cp <YourSpecialClasspath>: <PathToJar> <ClassToRunInsideOfJar>
    in my case it was like:
    java -cp /home/user/WebRCP.jar:./StandaloneInstaller.jar InstallLoader
    Remember to put a ":" in between the two arguments for the class path (-cp).
    Hope this helps someone in the future,
    -Josh

  • Why can I not find "command line options" in FF help?

    I can't find any information in the knowledge base on windows command line options for Firefox. I actually had to go to "http://kb.mozillazine.org/Command_line_arguments" to find this information. This seems like a fairly common piece of information FF users would want to know. At least, it's not extraordinarily rare.

    You have out-of-date plugins with known security issues. You should update them.
    * Adobe Shockwave for Director Netscape plug-in, version 10.3
    * Next Generation Java Plug-in 1.6.0_21 for Mozilla browsers (new security update releases 10-12-2010)
    #'''Check your plugin versions''': http://www.mozilla.com/en-US/plugincheck/
    #*'''Note: plugin check page does not have information on all plugin versions'''
    #'''Update Shockwave for Director'''
    #*NOTE: this is not the same as Shockwave Flash; this installs the Shockwave Player.
    #*Use Firefox to download and SAVE the installer to your hard drive from the link in the article below (Desktop is a good place so you can find it).
    #*When the download is complete, exit Firefox (File > Exit)
    #*locate and double-click in the installer you just downloaded, let the install complete.
    #*Restart Firefox and check your plugins again.
    #*'''<u>Download link and more information</u>''': http://support.mozilla.com/en-US/kb/Using+the+Shockwave+plugin+with+Firefox
    #'''Update Java:'''
    #* Download and update instructions: https://support.mozilla.com/en-US/kb/Using+the+Java+plugin+with+Firefox
    #* Removing old versions: http://www.java.com/en/download/faq/remove_olderversions.xml
    #* After the installation, start Firefox and check your version again.

  • Capturing the output of a os command line

    I need to capture the output of a os command line executed from one java program and I don't know how can do it.
    For example:
    Runtime.getRuntime().exec("hostid");

    Your suggestion worked very well, just in case that this could interest somebody, this is the complete solution
    Thanks for your help
    import java.io.*;
    public class HostID
    public static void main(String args[]){
    try{
    InputStream in = (Runtime.getRuntime().exec("hostid")).getInputStream();
    byte[] arreglo= new byte[200];
    int cantidad = in.read(arreglo);
    System.out.println(new String(arreglo,0,cantidad));
    } catch (IOException ioe){System.out.println(ioe.getMessage());}
    }

  • How to pass command-line options to app using the "open" command?

    I am using jedit, and since I'm doing a lot of stuff in a shell, I'd really like to launch it from the command line as though I'd opened from finder, so I wrote a script that contains this:
    open -a /Applications/Jedit.app "$@" &
    This works well for everything except NEW files, where I get this error:
    2007-02-16 19:29:48.072 open[1032] No such file: /Users/millerti/projects/ateon/new_file
    Is there a way I can override this?
    So, it occurred to me that I might try running jedit directly this way:
    /Applications/Jedit.app/Contents/MacOS/jedit -- "$@" &
    The trouble is that this suffers all sorts of weird problems. For instance, if there's already a jedit running, it launches another one (despite the fact that -server is default). Moreover, the file it opens, existing or not, is not the one I specify. If I'm in ~/mydir and I open ./myfile, jedit opens instead /Applications/myfile.
    Obviously, I'm doing something wrong. Can someone help me figure out what open is doing internally so that I can launch jedit compatible with how open does it so that I can both open existing files and create new ones the same way from the command line?
    BTW, I can make more complex script.
    Also, if this isn't the right forum for this, can someone tell me where would be a better place to get the question answered?
    And I'm not expecting to get jedit support here. This isn't a jedit problem because it's behaving correctly.
    Thanks.

    Applications rarely take command line arguments. I don't know anything about Jedit, whether that is an exception, but you are not sending an argument to Jedit with the open command. The file name on your command line is an argument to the open command. The open command says "open this file with the specified application". The application doesn't see the argument. It sees the file exactly as if it were opened from the Finder. That's why naming a non-existent file doesn't work.
    What if you open Jedit with no file, create a new document in the application. (Again, I am not familiar with Jedit.)

  • Command line options / API Support to launch the sequence file

    does teststand support any command line options / API Support to launch the sequence file and also populate the test run status. I want to explore the option of integrating the teststand with QC where I can launch the sequence from QC and results are sent back to QC.
    Thanks in advance,
      -Dilip

    Hi Dilip,
    Here are the command line options for TestStand v4.2.1:
    Command Line Processing
    Command line usage:
       seqedit.exe [<sequence file>]
                   [/goto <location>]
                   [/run <sequence> <sequence file>]
                   [/runEntryPoint <entry point> <sequence file>]
                   [/quit]
                   [/setCurrentDir]
                   [/useExisting]              
                   [<workspace file>]
          <location>:  property object path to the item to display in the file
                   Location examples:
                         TestExec.exe c:\example.seq /goto "Seq[\"MainSequence\"].Main[\"Power On\"]"
                         TestExec.exe c:\example.seq /goto "Seq[\"MainSequence\"].Main[\"ID#:JifH4ODTf0y1z7bJ​ne0G7D\"]"
                         TestExec.exe c:\example.seq /goto "Seq[1].Main[4].TS.LoadOpt"
          <sequence file>:  sequence file to open
          <sequence>:       sequence to run
          <entry point>:    entry point, such as Single Pass or Test UUTs, to run
          <workspace file>: workspace file to open
       You may specify multiple sequence files, sequences, and entry points.
       Quotes are required for arguments that contain a space, such as
       "Test UUTs" and "C:\My Documents\Test Sequence.seq"
    I don't believe you'll get a return status of the executed sequence from the editor on close; but you could design your sequence to write the status to a file and then read that by your QC application.
    -Jack

  • How do I restart the SNMP agents with the original command line options?

    I'm creating an application that changes the SNMP trap target configuration files and then restarts the SNMP agent. I'm currently working with the mibiisa agent. I want to make sure that I restart the service with the new trap targets but with the original command line options. How can I restart the mibiisa service with the same command line options that it originally loaded with?

    It is not "Network Time" that is the problem, but actually "SystemStarter." SystemStarter is an interim kludge to enable the work or the old StartupItems until they can be converted to LaunchDaemons or LaunchAgents controlled by launchd. Launcd calls SystemStarter to launch all the unconverted StartupItems. ntpd is now under the control of launchd directly.
    Launchctl is the command to load and unload the plist files, but I don't think it has a mechanism to restart a daemon.
    There are start and stop commands in launchctl, but the man page indicates that they are for debugging purposes.
    I also imagine you could just kill the ntp daemon and let it restart with new settings. It is most likely set to "keepAlive" so that it will automatically restart.

  • What are the command line options to start firefox to start in a kiosk mode which restricts the options that a user can select

    I would like to use Firefox as my browser but want to restrict the configuration options that a user can do. Is there a command line option to start in a kiosk more in which no toolbars are visible including min/maximise buttons so that only the rendered webpage is visible? I am interested for both Windows and Linux environments.

    There is a /wait option for the Windows "start" command to wait for the program to get finished.
    *http://technet.microsoft.com/en-us/library/bb491005.aspx
    <pre><nowiki>/wait : Starts an application and waits for it to end. </nowiki></pre>

  • Unable to generate jra recorder file from java command line.

    Following the instructions at
    http://e-docs.bea.com/wljrockit/docs142/userguide/jra.html#1056021 I'm using
    the following command line to launch my application:
    java -cp bin -Xnoclassgc -Djrockit.lockprofiling -XXjra MyClass
    I'm getting a file lprofile.txt, but no XML file containing the jra
    recording.
    Is the documentation correct?
    jrockit version: BEA WebLogic JRockit(TM) 1.4.2_04 JVM
    Windows XP IA32
    Michael Giroux

    Helena,
    Thanks
    You need to give some parameters to the -XXjra commandNow that I re-read the doc, I see that delay is required. All other
    parameters are optional. I did not notice that the delay has no default
    value. Maybe you could add that to the documentation to make it more clear
    that -XXjra:delay=xx is a minimum requirement.
    Michael
    "Helena Åberg Östlund" <[email protected]> wrote in message
    news:40ff72b4$1@mail...
    Michael,
    You need to give some parameters to the -XXjra command or JRockit will not
    know when to start the recording etc. Parameters are separated by : as
    described in the documentation so the docs are correct. Some valid
    parameters would be for example:
    -XXjra:delay=45,recordingtime=120,filename=myrecording.xml
    which means "start a recording of length 120 seconds in 45 seconds after
    JVM startup. Write the data to the file myrecording.xml".
    I hope this helps.
    /Helena
    Michael Giroux wrote:
    Following the instructions at
    http://e-docs.bea.com/wljrockit/docs142/userguide/jra.html#1056021 I'm
    using the following command line to launch my application:
    java -cp bin -Xnoclassgc -Djrockit.lockprofiling -XXjra MyClass
    I'm getting a file lprofile.txt, but no XML file containing the jra
    recording.
    Is the documentation correct?
    jrockit version: BEA WebLogic JRockit(TM) 1.4.2_04 JVM
    Windows XP IA32
    Michael Giroux

  • Importing .eex using Java Command Line on Unix (Licence required?)

    Hiall,
    We're looking into scripting our deploy process to reduce the amount of manual intervention required. We'll be importing the eex from a Unix box and was wondering what the licencing restrictions are on using the Java Command Line tools.
    Do we need a licence for them? Which kind? Desktop or Administrator?
    We already have Desktop licences but would rather not have to buy an additional one just for this process.
    Thanks for any help you can offer.

    Hi
    The Java Command Line Utility for the EUL is licensed with the Admin edition so you'll need to purchase at least one Admin license (at current prices these are $5,000 per administrator).
    Personally, I've always found scripting to be as much a manual process as entering the Admin tool and using the GUI interface.
    Best wishes
    Michael

  • Java command line purge not working after applying MLR 10

    Hi Gurus,
    After applying the latest patch MLR 10,
    java command line purge does not seem to work. I'm using the command
    java -ms1024M -mx1024M oracle.tip.repos.purge.PurgeManager purgeRuntime -start 07-APR-2009 -end 22-MAY-2009 Complete
    Before running the command i have set the environment using setenv.bat present in ip\install directory.
    Below error is observed when trying to purge the messages
    java -ms1024M -mx1024M oracle.tip.repos.purge
    .PurgeManager purgeRuntime -start 07-APR-2009 -end 22-MAY-2009 Complete
    Purge started, please wait...
    Purge failed
    Error -: AIP-11016: SQL error: java.sql.SQLException: ORA-06550: line 1, colum
    n 7:
    PLS-00905: object B2B.PURGE_RUNTIME is invalid
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    at oracle.tip.repos.purge.PurgeManager.main(PurgeManager.java:1454)
    Caused by: java.sql.SQLException: ORA-06550: line 1, column 7:
    PLS-00905: object B2B.PURGE_RUNTIME is invalid
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java
    :124)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:315)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:281)
    at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:638)
    at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.
    java:183)
    at oracle.jdbc.driver.T4CCallableStatement.execute_for_rows(T4CCallableS
    tatement.java:872)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStateme
    nt.java:1085)
    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePrep
    aredStatement.java:2983)
    at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePrepar
    edStatement.java:3056)
    at oracle.jdbc.driver.OracleCallableStatement.executeUpdate(OracleCallab
    leStatement.java:4295)
    at oracle.tip.repos.purge.PurgeManager.main(PurgeManager.java:1449)
    Kindly let me know if any post install scripts needs to be run ?
    Or is there any thing else i have missed.
    Thanks in advance,
    Regards,
    Cema
    Edited by: Cema on May 22, 2009 12:14 PM

    Hi Cema,
    In MLR 10 these two bugs have been added with others (you can see in patch read me file)-
    8432093 - AUTOMATE THE POST PATCH INSTRUCTION SCRIPTS FROM MLR 10 ONWARDS
    8339176 - B2B PURGE_RUNTIME PROCEDURE DOES NOT DELETE ALL TIP_WIREMESSAGE_RT RECORDS
    Bug 8432093 tells clearly that there is no need of running any post installation script from MLR 10 onwards, so you have not missed anything like post installation script.
    Bug 8339176 has addressed the PURGE_RUNTIME functionality for deleting messages. From your earlier posts it seems that you got some errors while applying this patch. Please make sure that patch is successfully installed on your system.
    Regards,
    Anuj

  • JDev specifying SQLJ translator command line options

    Hi,
    I have come across the problem of SQLJ connections caching up to 5 sql commands and so leaving any related cursors open. This is happening mainly for statments where I have executed a SELECT ... INTO ... Any sqlj with iterators, I have closed the iterators so they do get removed and their cursors closed.
    I have found that caching can be switched off via the SQLJ translator command line option -P-Cstmtcache=0.
    How can I specify this command line option within my JDeveloper project settings? I don't want to have to build my project from the command line explicitly as this will complicate the Release Software Build procedure.
    Can anyone help me, please?
    Thanks a lot.

    Can anyone offer any words of wisdom on this? We are currently using JDeveloper 3.1 (Build 681)

  • Javadoc command line options

    I have a custom doclet which generates xml output instead of the default ouput from javadoc.
    I am trying to pass custom command line options to my custom doclet class.
    The following is my javadoc command:
    javadoc -classpath c:\junit\junit3.8.1\junit.jar;C:\j2sdk1.4.1\lib\tools.jar -doclet DocGenerator -dest c:\docgen\temp C:\DocGeneratorTest.java
    When i use the above command i get the following error:
    javadoc: invalid flag: -dest
    I am trying to access the value of dest in my custom doclet.
    Regards
    -rv

    Perhaps the following will help. It explains how to use command-line options
    Any doclet that uses custom options must have a method called
    optionLength(String option) that returns an int. For each custom
    option that you want your doclet to recognize, optionLength must
    return the number of separate pieces or tokens in the option. This page gives an example:
    http://java.sun.com/j2se/1.4.2/docs/tooldocs/javadoc/overview.html#options
    -Doug Kramer
    Javadoc team

  • How to pass command line options?

    I know that command line options contrary to command line data arguments start with a prefix that uniquely identifies them.
    I write an application that will copy files from one folder to another. It should be launched with the syntax as follows:
    c:>java my.app.DirectoryScannerConsole
    c:>scan ?input ?C:/test/in? ?output ?C:/test/out? ?mask ?*test*.xml? ?waitInterval 60000 ? includeSubfolders false ?autoDelete true
    c:>exitSo after launching we have two commands: 'scan' and 'exit'. What should I make in my program to be able to invoke these commands in such a manner?
    Edited by: Exaserge on Nov 8, 2008 10:38 AM
    Edited by: Exaserge on Nov 8, 2008 10:40 AM

    Maybe try using Scanner to read in the line of input, then break the line into an String array, then comparing the Strings in the array.
    Something like...
    public static void main(String args[])
       Scanner in = new Scanner(System.in);
       String line = in.readLine(); //read in an entire line of input
       String words[] = line.split(" "); //split that line wherever there is a space
       while ( !(words[0].equals("exit")) ) //if they haven't typed in exit
          if (words[0].equals("scan")
              if(words[1].equals("-input"))
                 String inputFile = words[2]
              //etc.
          line = in.readLine();
          words = line.split(" ");
    }I haven't tried to compile it or anything, so it may not be syntactically correct, but you should get the idea.
    Edited by: chickenmeister on Nov 8, 2008 1:02 AM

  • [SOLVED] gcc: error: unrecognized command line option '-V'

    Hi.. this is my first post but I always read the forum to solve my problem! ;) thank you to all!!!!   sorry for my bad english in advanced...
    This is my problem:
    I have Archlinux x86_64 with Gnome (last version).
    I try to install the driver for my printer epson sx218 but when I compile the bash show:
    checking for gcc... gcc
    checking for C compiler default output file name...
    configure: error: C compiler cannot create executables
    See `config.log' for more details.
    now, I see the config.log file and I see the line:
    gcc: error: unrecognized command line option '-V'
    my makepkg.conf:
    # /etc/makepkg.conf
    # SOURCE ACQUISITION
    #-- The download utilities that makepkg should use to acquire sources
    # Format: 'protocol::agent'
    DLAGENTS=('ftp::/usr/bin/curl -fC - --ftp-pasv --retry 3 --retry-delay 3 -o %o %u'
    'http::/usr/bin/curl -fLC - --retry 3 --retry-delay 3 -o %o %u'
    'https::/usr/bin/curl -fLC - --retry 3 --retry-delay 3 -o %o %u'
    'rsync::/usr/bin/rsync --no-motd -z %u %o'
    'scp::/usr/bin/scp -C %u %o')
    # Other common tools:
    # /usr/bin/snarf
    # /usr/bin/lftpget -c
    # /usr/bin/wget
    # ARCHITECTURE, COMPILE FLAGS
    CARCH="x86_64"
    CHOST="x86_64-unknown-linux-gnu"
    #-- Compiler and Linker Flags
    # -march (or -mcpu) builds exclusively for an architecture
    # -mtune optimizes for an architecture, but builds for whole processor family
    CPPFLAGS="-D_FORTIFY_SOURCE=2"
    CFLAGS="-march=native -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4"
    CXXFLAGS="${CFLAGS}"
    LDFLAGS="-Wl, -O1,--sort-common,--as-needed,-z,relro"
    #-- Make Flags: change this for DistCC/SMP systems
    MAKEFLAGS="-j2"
    #-- Debugging flags
    DEBUG_CFLAGS="-g -fvar-tracking-assignments"
    DEBUG_CXXFLAGS="-g -fvar-tracking-assignments"
    # BUILD ENVIRONMENT
    # Defaults: BUILDENV=(fakeroot !distcc color !ccache check !sign)
    # A negated environment option will do the opposite of the comments below.
    #-- fakeroot: Allow building packages as a non-root user
    #-- distcc: Use the Distributed C/C++/ObjC compiler
    #-- color: Colorize output messages
    #-- ccache: Use ccache to cache compilation
    #-- check: Run the check() function if present in the PKGBUILD
    #-- sign: Generate PGP signature file
    BUILDENV=(fakeroot !distcc color !ccache check !sign)
    #-- If using DistCC, your MAKEFLAGS will also need modification. In addition,
    #-- specify a space-delimited list of hosts running in the DistCC cluster.
    #DISTCC_HOSTS=""
    #-- Specify a directory for package building.
    #BUILDDIR=/tmp/makepkg
    # GLOBAL PACKAGE OPTIONS
    # These are default values for the options=() settings
    # Default: OPTIONS=(strip docs libtool staticlibs emptydirs zipman purge !upx !debug)
    # A negated option will do the opposite of the comments below.
    #-- strip: Strip symbols from binaries/libraries
    #-- docs: Save doc directories specified by DOC_DIRS
    #-- libtool: Leave libtool (.la) files in packages
    #-- staticlibs: Leave static library (.a) files in packages
    #-- emptydirs: Leave empty directories in packages
    #-- zipman: Compress manual (man and info) pages in MAN_DIRS with gzip
    #-- purge: Remove files specified by PURGE_TARGETS
    #-- upx: Compress binary executable files using UPX
    #-- debug: Add debugging flags as specified in DEBUG_* variables
    OPTIONS=(strip docs libtool staticlibs emptydirs zipman purge !upx !debug)
    #-- File integrity checks to use. Valid: md5, sha1, sha256, sha384, sha512
    INTEGRITY_CHECK=(md5)
    #-- Options to be used when stripping binaries. See `man strip' for details.
    STRIP_BINARIES="--strip-all"
    #-- Options to be used when stripping shared libraries. See `man strip' for details.
    STRIP_SHARED="--strip-unneeded"
    #-- Options to be used when stripping static libraries. See `man strip' for details.
    STRIP_STATIC="--strip-debug"
    #-- Manual (man and info) directories to compress (if zipman is specified)
    MAN_DIRS=({usr{,/local}{,/share},opt/*}/{man,info})
    #-- Doc directories to remove (if !docs is specified)
    DOC_DIRS=(usr/{,local/}{,share/}{doc,gtk-doc} opt/*/{doc,gtk-doc})
    #-- Files to be removed from all packages (if purge is specified)
    PURGE_TARGETS=(usr/{,share}/info/dir .packlist *.pod)
    # PACKAGE OUTPUT
    # Default: put built package and cached source in build directory
    #-- Destination: specify a fixed directory where all packages will be placed
    #PKGDEST=/home/packages
    #-- Source cache: specify a fixed directory where source files will be cached
    #SRCDEST=/home/sources
    #-- Source packages: specify a fixed directory where all src packages will be placed
    #SRCPKGDEST=/home/srcpackages
    #-- Log files: specify a fixed directory where all log files will be placed
    #LOGDEST=/home/makepkglogs
    #-- Packager: name/email of the person or organization building packages
    #PACKAGER="John Doe <[email protected]>"
    #-- Specify a key to use for package signing
    #GPGKEY=""
    # COMPRESSION DEFAULTS
    COMPRESSGZ=(gzip -c -f -n)
    COMPRESSBZ2=(bzip2 -c -f)
    COMPRESSXZ=(xz -c -z -)
    COMPRESSLRZ=(lrzip -q)
    COMPRESSLZO=(lzop -q)
    COMPRESSZ=(compress -c -f)
    # EXTENSION DEFAULTS
    # WARNING: Do NOT modify these variables unless you know what you are
    # doing.
    PKGEXT='.pkg.tar.xz'
    SRCEXT='.src.tar.gz'
    # vim: set ft=sh ts=2 sw=2 et:
    this is my full config.log:
    This file contains any messages produced by compilers while
    running configure, to aid debugging if configure makes a mistake.
    It was created by epson-inkjet-printer-filter configure 1.0.0, which was
    generated by GNU Autoconf 2.61. Invocation command line was
    $ ./configure LDFLAGS=-Wl, -O1,--sort-common,--as-needed,-z,relro -Wl,--no-as-needed --prefix=/opt/epson-inkjet-printer-workforce-320-sx218
    ## Platform. ##
    hostname = localhost
    uname -m = x86_64
    uname -r = 3.9.3-1-ARCH
    uname -s = Linux
    uname -v = #1 SMP PREEMPT Sun May 19 22:50:29 CEST 2013
    /usr/bin/uname -p = unknown
    /bin/uname -X = unknown
    /bin/arch = unknown
    /usr/bin/arch -k = unknown
    /usr/convex/getsysinfo = unknown
    /usr/bin/hostinfo = unknown
    /bin/machine = unknown
    /usr/bin/oslevel = unknown
    /bin/universe = unknown
    PATH: /usr/local/bin
    PATH: /usr/bin
    PATH: /bin
    PATH: /usr/local/sbin
    PATH: /usr/sbin
    PATH: /sbin
    PATH: /usr/bin/core_perl
    ## Core tests. ##
    configure:1989: checking for a BSD-compatible install
    configure:2045: result: /usr/bin/install -c
    configure:2056: checking whether build environment is sane
    configure:2099: result: yes
    configure:2127: checking for a thread-safe mkdir -p
    configure:2166: result: /usr/bin/mkdir -p
    configure:2179: checking for gawk
    configure:2195: found /usr/bin/gawk
    configure:2206: result: gawk
    configure:2217: checking whether make sets $(MAKE)
    configure:2238: result: yes
    configure:2480: checking for gcc
    configure:2496: found /usr/bin/gcc
    configure:2507: result: gcc
    configure:2745: checking for C compiler version
    configure:2752: gcc --version >&5
    gcc (GCC) 4.8.0 20130502 (prerelease)
    Copyright (C) 2013 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions. There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    configure:2755: $? = 0
    configure:2762: gcc -v >&5
    Using built-in specs.
    COLLECT_GCC=gcc
    COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.0/lto-wrapper
    Target: x86_64-unknown-linux-gnu
    Configured with: /build/src/gcc-4.8-20130502/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --enable-gnu-unique-object --enable-linker-build-id --enable-cloog-backend=isl --disable-cloog-version-check --enable-lto --enable-gold --enable-ld=default --enable-plugin --with-plugin-ld=ld.gold --with-linker-hash-style=gnu --disable-install-libiberty --disable-multilib --disable-libssp --disable-werror --enable-checking=release
    Thread model: posix
    gcc version 4.8.0 20130502 (prerelease) (GCC)
    configure:2765: $? = 0
    configure:2772: gcc -V >&5
    gcc: error: unrecognized command line option '-V'
    gcc: fatal error: no input files
    compilation terminated.
    configure:2775: $? = 1
    configure:2798: checking for C compiler default output file name
    configure:2825: gcc -march=native -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wl, -O1,--sort-common,--as-needed,-z,relro -Wl,--no-as-needed conftest.c >&5
    cc1: error: argument to '-O' should be a non-negative integer, 'g', 's' or 'fast'
    configure:2828: $? = 1
    configure:2866: result:
    configure: failed program was:
    | /* confdefs.h. */
    | #define PACKAGE_NAME "epson-inkjet-printer-filter"
    | #define PACKAGE_TARNAME "epson-inkjet-printer-filter"
    | #define PACKAGE_VERSION "1.0.0"
    | #define PACKAGE_STRING "epson-inkjet-printer-filter 1.0.0"
    | #define PACKAGE_BUGREPORT "epson@localdomain"
    | #define PACKAGE "epson-inkjet-printer-filter"
    | #define VERSION "1.0.0"
    | /* end confdefs.h. */
    |
    | int
    | main ()
    | {
    |
    | ;
    | return 0;
    | }
    configure:2873: error: C compiler cannot create executables
    See `config.log' for more details.
    ## Cache variables. ##
    ac_cv_env_CCC_set=
    ac_cv_env_CCC_value=
    ac_cv_env_CC_set=
    ac_cv_env_CC_value=
    ac_cv_env_CFLAGS_set=set
    ac_cv_env_CFLAGS_value='-march=native -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4'
    ac_cv_env_CPPFLAGS_set=set
    ac_cv_env_CPPFLAGS_value=-D_FORTIFY_SOURCE=2
    ac_cv_env_CPP_set=
    ac_cv_env_CPP_value=
    ac_cv_env_CXXCPP_set=
    ac_cv_env_CXXCPP_value=
    ac_cv_env_CXXFLAGS_set=set
    ac_cv_env_CXXFLAGS_value='-march=native -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4'
    ac_cv_env_CXX_set=
    ac_cv_env_CXX_value=
    ac_cv_env_F77_set=
    ac_cv_env_F77_value=
    ac_cv_env_FFLAGS_set=
    ac_cv_env_FFLAGS_value=
    ac_cv_env_LDFLAGS_set=set
    ac_cv_env_LDFLAGS_value='-Wl, -O1,--sort-common,--as-needed,-z,relro -Wl,--no-as-needed'
    ac_cv_env_LIBS_set=
    ac_cv_env_LIBS_value=
    ac_cv_env_build_alias_set=
    ac_cv_env_build_alias_value=
    ac_cv_env_host_alias_set=
    ac_cv_env_host_alias_value=
    ac_cv_env_target_alias_set=
    ac_cv_env_target_alias_value=
    ac_cv_path_install='/usr/bin/install -c'
    ac_cv_path_mkdir=/usr/bin/mkdir
    ac_cv_prog_AWK=gawk
    ac_cv_prog_ac_ct_CC=gcc
    ac_cv_prog_make_make_set=yes
    ## Output variables. ##
    ACLOCAL='${SHELL} /home/liberato/Scaricati/epson-inkjet-printer-workforce-320-sx218/src/epson-inkjet-printer-filter-1.0.0/missing --run aclocal-1.10'
    AMDEPBACKSLASH=''
    AMDEP_FALSE=''
    AMDEP_TRUE=''
    AMTAR='${SHELL} /home/liberato/Scaricati/epson-inkjet-printer-workforce-320-sx218/src/epson-inkjet-printer-filter-1.0.0/missing --run tar'
    AR=''
    AUTOCONF='${SHELL} /home/liberato/Scaricati/epson-inkjet-printer-workforce-320-sx218/src/epson-inkjet-printer-filter-1.0.0/missing --run autoconf'
    AUTOHEADER='${SHELL} /home/liberato/Scaricati/epson-inkjet-printer-workforce-320-sx218/src/epson-inkjet-printer-filter-1.0.0/missing --run autoheader'
    AUTOMAKE='${SHELL} /home/liberato/Scaricati/epson-inkjet-printer-workforce-320-sx218/src/epson-inkjet-printer-filter-1.0.0/missing --run automake-1.10'
    AWK='gawk'
    CC='gcc'
    CCDEPMODE=''
    CFLAGS='-march=native -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4'
    CORE_LIBRARY_PATH=''
    CORE_RESOURCE_PATH=''
    CPP=''
    CPPFLAGS='-D_FORTIFY_SOURCE=2'
    CUPS_IMAGE_LIBS=''
    CUPS_LIBS=''
    CUPS_SERVER_DIR=''
    CXX=''
    CXXCPP=''
    CXXDEPMODE=''
    CXXFLAGS='-march=native -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4'
    CYGPATH_W='echo'
    DEFS=''
    DEPDIR=''
    DL_LIBS=''
    DSYMUTIL=''
    ECHO='echo'
    ECHO_C=''
    ECHO_N='-n'
    ECHO_T=''
    EGREP=''
    EXEEXT=''
    F77=''
    FFLAGS=''
    GREP=''
    INSTALL_DATA='${INSTALL} -m 644'
    INSTALL_PROGRAM='${INSTALL}'
    INSTALL_SCRIPT='${INSTALL}'
    INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
    LDFLAGS='-Wl, -O1,--sort-common,--as-needed,-z,relro -Wl,--no-as-needed'
    LIBOBJS=''
    LIBS=''
    LIBTOOL=''
    LN_S=''
    LTLIBOBJS=''
    MAKEINFO='${SHELL} /home/liberato/Scaricati/epson-inkjet-printer-workforce-320-sx218/src/epson-inkjet-printer-filter-1.0.0/missing --run makeinfo'
    NMEDIT=''
    OBJEXT=''
    PACKAGE='epson-inkjet-printer-filter'
    PACKAGE_BUGREPORT='epson@localdomain'
    PACKAGE_NAME='epson-inkjet-printer-filter'
    PACKAGE_STRING='epson-inkjet-printer-filter 1.0.0'
    PACKAGE_TARNAME='epson-inkjet-printer-filter'
    PACKAGE_VERSION='1.0.0'
    PATH_SEPARATOR=':'
    RANLIB=''
    SED=''
    SET_MAKE=''
    SHELL='/bin/sh'
    STDCPP_LIBS=''
    STRIP=''
    VERSION='1.0.0'
    ac_ct_CC='gcc'
    ac_ct_CXX=''
    ac_ct_F77=''
    am__fastdepCC_FALSE=''
    am__fastdepCC_TRUE=''
    am__fastdepCXX_FALSE=''
    am__fastdepCXX_TRUE=''
    am__include=''
    am__isrc=''
    am__leading_dot='.'
    am__quote=''
    am__tar='${AMTAR} chof - "$$tardir"'
    am__untar='${AMTAR} xf -'
    bindir='${exec_prefix}/bin'
    build=''
    build_alias=''
    build_cpu=''
    build_os=''
    build_vendor=''
    datadir='${datarootdir}'
    datarootdir='${prefix}/share'
    docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    dvidir='${docdir}'
    exec_prefix='NONE'
    host=''
    host_alias=''
    host_cpu=''
    host_os=''
    host_vendor=''
    htmldir='${docdir}'
    includedir='${prefix}/include'
    infodir='${datarootdir}/info'
    install_sh='$(SHELL) /home/liberato/Scaricati/epson-inkjet-printer-workforce-320-sx218/src/epson-inkjet-printer-filter-1.0.0/install-sh'
    libdir='${exec_prefix}/lib'
    libexecdir='${exec_prefix}/libexec'
    localedir='${datarootdir}/locale'
    localstatedir='${prefix}/var'
    mandir='${datarootdir}/man'
    mkdir_p='/usr/bin/mkdir -p'
    oldincludedir='/usr/include'
    pdfdir='${docdir}'
    prefix='/opt/epson-inkjet-printer-workforce-320-sx218'
    program_transform_name='s,x,x,'
    psdir='${docdir}'
    sbindir='${exec_prefix}/sbin'
    sharedstatedir='${prefix}/com'
    sysconfdir='${prefix}/etc'
    target_alias=''
    ## confdefs.h. ##
    #define PACKAGE_NAME "epson-inkjet-printer-filter"
    #define PACKAGE_TARNAME "epson-inkjet-printer-filter"
    #define PACKAGE_VERSION "1.0.0"
    #define PACKAGE_STRING "epson-inkjet-printer-filter 1.0.0"
    #define PACKAGE_BUGREPORT "epson@localdomain"
    #define PACKAGE "epson-inkjet-printer-filter"
    #define VERSION "1.0.0"
    configure: exit 77
    any idea to solve? I searched around but can not find anything.. :'(
    Last edited by liberato83 (2013-05-24 13:25:18)

    Are you using AUR https://aur.archlinux.org/packages/epso … 320-sx218/ ?
    I updated the PKGBUILD to remove the line that says 'gcc -V >&5'  from the configure file
    libtoolize
    sed -i 's/gcc -V >&5//' configure
    chmod +x configure
    but it still doesn't build:
    ==> Starting build()...
    libtoolize: putting auxiliary files in `.'.
    libtoolize: linking file `./ltmain.sh'
    libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
    libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
    libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
    checking for gawk... gawk
    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 a BSD-compatible install... /usr/bin/install -c
    checking whether ln -s works... yes
    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... /usr/bin/sed
    checking for grep that handles long lines and -e... /usr/bin/grep
    checking for egrep... /usr/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 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 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 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... 1572864
    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 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 whether -lc should be explicitly linked in... no
    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... yes
    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
    (cached) (cached) checking how to hardcode library paths into programs... immediate
    appending configuration tag "F77" to libtool
    checking for dlopen in -ldl... yes
    checking for ANSI C header files... (cached) yes
    checking fcntl.h usability... yes
    checking fcntl.h presence... yes
    checking for fcntl.h... yes
    checking for stdlib.h... (cached) yes
    checking for string.h... (cached) yes
    checking for unistd.h... (cached) yes
    checking for an ANSI C-conforming const... yes
    checking for size_t... yes
    checking return type of signal handlers... void
    checking for vprintf... yes
    checking for _doprnt... no
    checking for memset... yes
    checking for strdup... yes
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating src/Makefile
    config.status: creating src/raster/Makefile
    config.status: creating src/raster/blendSource/Makefile
    config.status: creating src/memory/Makefile
    config.status: creating src/pagemanager/Makefile
    config.status: creating src/filteropt/Makefile
    config.status: creating config.h
    config.status: executing depfiles commands
    cd . && /bin/sh /home/karol/test/foo/epson-inkjet-printer-workforce-320-sx218/src/epson-inkjet-printer-filter-1.0.0/missing --run automake-1.10 --gnu
    /home/karol/test/foo/epson-inkjet-printer-workforce-320-sx218/src/epson-inkjet-printer-filter-1.0.0/missing: line 54: automake-1.10: command not found
    WARNING: `automake-1.10' is missing on your system. You should only need it if
    you modified `Makefile.am', `acinclude.m4' or `configure.ac'.
    You might want to install the `Automake' and `Perl' packages.
    Grab them from any GNU archive site.
    cd . && /bin/sh ./config.status Makefile
    config.status: creating Makefile
    cd . && /bin/sh /home/karol/test/foo/epson-inkjet-printer-workforce-320-sx218/src/epson-inkjet-printer-filter-1.0.0/missing --run autoheader
    rm -f stamp-h1
    touch config.h.in
    cd . && /bin/sh ./config.status config.h
    config.status: creating config.h
    make all-recursive
    make[1]: Entering directory `/home/karol/test/foo/epson-inkjet-printer-workforce-320-sx218/src/epson-inkjet-printer-filter-1.0.0'
    Making all in src
    make[2]: Entering directory `/home/karol/test/foo/epson-inkjet-printer-workforce-320-sx218/src/epson-inkjet-printer-filter-1.0.0/src'
    cd .. && /bin/sh ./config.status src/Makefile depfiles
    config.status: creating src/Makefile
    config.status: executing depfiles commands
    make[2]: Leaving directory `/home/karol/test/foo/epson-inkjet-printer-workforce-320-sx218/src/epson-inkjet-printer-filter-1.0.0/src'
    make[2]: Entering directory `/home/karol/test/foo/epson-inkjet-printer-workforce-320-sx218/src/epson-inkjet-printer-filter-1.0.0/src'
    Making all in memory
    make[3]: Entering directory `/home/karol/test/foo/epson-inkjet-printer-workforce-320-sx218/src/epson-inkjet-printer-filter-1.0.0/src/memory'
    cd ../.. && /bin/sh ./config.status src/memory/Makefile depfiles
    config.status: creating src/memory/Makefile
    config.status: executing depfiles commands
    make[3]: Leaving directory `/home/karol/test/foo/epson-inkjet-printer-workforce-320-sx218/src/epson-inkjet-printer-filter-1.0.0/src/memory'
    make[3]: Entering directory `/home/karol/test/foo/epson-inkjet-printer-workforce-320-sx218/src/epson-inkjet-printer-filter-1.0.0/src/memory'
    /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../ -D_FORTIFY_SOURCE=2 -fsigned-char -O2 -MT memory.lo -MD -MP -MF .deps/memory.Tpo -c -o memory.lo memory.c
    ../../libtool: line 482: CDPATH: command not found
    libtool: Version mismatch error. This is libtool 2.4.2, but the
    libtool: definition of this LT_INIT comes from an older release.
    libtool: You should recreate aclocal.m4 with macros from libtool 2.4.2
    libtool: and run autoconf again.
    make[3]: *** [memory.lo] Error 63
    make[3]: Leaving directory `/home/karol/test/foo/epson-inkjet-printer-workforce-320-sx218/src/epson-inkjet-printer-filter-1.0.0/src/memory'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/home/karol/test/foo/epson-inkjet-printer-workforce-320-sx218/src/epson-inkjet-printer-filter-1.0.0/src'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/karol/test/foo/epson-inkjet-printer-workforce-320-sx218/src/epson-inkjet-printer-filter-1.0.0'
    make: *** [all] Error 2
    ==> ERROR: A failure occurred in build().
    Aborting...

Maybe you are looking for