Studio 12.4 tarball install can't compile programs on Linux

Hi,
I just installed the tarball for 12.4 in /opt. I have previously used Studio 12.3, 12.2, and 12.0.
Problem #1 command line C and Fortran compilers fail
The IDE can compile and build an application but the command line compilers (C and Fortran) both fail:
EDIT: The IDE didn't build the project from existing code either. I was fooled by the fact dmake ran but it actually ignored my makefiles and did nothing. I got no error messages and the executables ran, so I ASSumed everything was ok. It now appears the tollowing error (Problem #2) below affects the IDE and command line tools and nothing works at all.
user@sys:~/devel/C/hello$ cc -V
cc: Sun C 5.13 Linux_i386 2014/10/20
user@sys:~/devel/C/hello$ which cc
/opt/solarisstudio12.4/bin/cc
user@sys:~/devel/C/hello$ cc -o hello hello.c
"hello.c", line 4: internal compiler error: DBGGEN ERROR: FILE="../src/dbg_libdwarf.c", LINE=31, Could not load dwarf library: libdwarf.so : libelf.so.1: cannot open shared object file: No such file or directory [DBG_GEN 5.5.0]
cc: acomp failed for hello.c
user@sys:~/devel/C/hello$
Problem #2 building a project using the wizard:
Yesterday I was able to get the IDE to build one of my Fortran apps from existing source. Today I tried using the wizard to build a C project from scratch.
I chose C/C++/Fortran application.
Next
It shows CppApplication_1
Finish
I expand source files to edit main.c
after a few seconds I get a popup that says
Project
/home/user/SolStudioProjects/CppApplication_1
metadata was modified in file system and in current session
Reload the project from disk and
override current changes to the project settings?
If I select no I get warning icons on the filename and Studio refuses to open it in edit. If I delete the project from /home/user/SolStudioProjects and start all over again and answer yes instead of no here, the entire project has a warning on it, nothing expands and when I look in the CppApplication_1 folder in /home/user/SolStudioProjects it's completely empty.

SFV написал(а):
Because your libelf is not .1 but rather .0.8.
Linux is a multi-faced beast so we do not dare to support all of its variances.
Besides the difference in system libraries (that you just hit) various flavours of Linux have rather huge variety in their linker versions/behavior
which is especially painful for C++ compiler which needs quite a bit of linker magic.
Anyway, you may get around your particular problem by installing a newer libelf on your system.
Not that there is any guarantee it will not get broken some other way
regards,
  Fedor.
But Libelf 0.8.13 is latest build from http://www.mr511.de/software/english.html
However RedHat uses Libelf from https://fedorahosted.org/elfutils/

Similar Messages

  • [SOLVED] Suddenly can't compile program, glib.h can't be found.

    Hey,
    I'm in the process of refining the code of my first project and whilst doing so, making a basic Makefile so people using other distro's can use it as well. I haven't change any of the code, just removed some empty lines and fixed the outlining, so the error can't be in the code itself (confirmed by using the old version that's still on GitHub).
    I have made a basic Makefile:
    mpd-notify: mpd-notify.c
    gcc -o mpd-notify mpd-notify.c -lX11 -lmpdclient -lnotify
    clean:
    rm mpd-notify
    But when running make, I get the following error message:
    ┌─[jente @ lappy mpd-notify] 17:56:29
    └─■ make
    gcc -o mpd-notify mpd-notify.c -lX11 -lmpdclient -lnotify
    In file included from mpd-notify.c:15:0:
    /usr/include/libnotify/notify.h:25:18: fatal error: glib.h: No such file or directory
    compilation terminated.
    make: *** [mpd-notify] Error 1
    I have declared the following in my program:
    #include <mpd/client.h>
    #include <libnotify/notify.h>
    #include <stdio.h>
    #include <unistd.h>
    #include <stdlib.h>
    #include <string.h>
    Why is this suddenly happening? It built fine before on 30-08-2012
    Last edited by Unia (2012-09-21 20:13:56)

    drcouzelis wrote:
    I don't know why it was working but now it isn't. I am skeptical that you had "/usr/include/glib-2.0" in your default path of included files before it broke though. The "pkg-config" command helps with that.
    Does the information in this thread help? http://ubuntuforums.org/showthread.php?t=1945240
    Hm, that does seem to help. I then get a missing dep of gdk-pixbuf, which in turn requires gtk (yes, gtk 1!). I guess something is wrong with the notify part. I don't know why though, it's the same as it was.
    Here's the part of the PKGBUILD that I'm trying to make into a Makefile:
    gcc -DPROGNAME="\"${pkgname}\"" -DVERSION="\"${pkgver}-${pkgrel}\"" -DDATE="\"`date -u`\"" \
    `pkg-config --cflags --libs libmpdclient` \
    `pkg-config --cflags --libs libnotify` \
    ${pkgname}.c -o ${pkgname}
    My Makefile:
    mpd-notify: mpd-notify.c
    gcc -o mpd-notify mpd-notify.c -lX11 -lmpdclient -lnotify
    clean:
    rm mpd-notify

  • How can I compile program which uses packages?

    Hi,
    I'm building a program using JBuilder9. I can successfully run using that IDE, but after I try to run it manually (run class file which compiled from JBuilder) by typing "javac myMainClass" it cannot find serveral packages which I put those packages' folder on the same root directory of myMainClass. Thank you.

    Man, you should probably read the following:
    http://java.sun.com/docs/books/tutorial/getStarted/cupojava/index.html
    Anyways, the first thing to do is to determine the current value of CLASSPATH (that is a system variable and it depends on your OS how you change/get its value).
    Next thing is to determine WHAT you need to add:
    For each used package check if its (root directory/jar) is in your CLASSPATH. If not add it, e.g.
    - you have a package my.test.package in C:\temp\myJar.jar then add C:\temp\myJar.jar
    - you have a package my.test.package in C:\temp, i.e. your fs structure is C:\temp\my\test\package, then add C:\temp
    For beginners, it's usually a good idea to have your CLASSPATH contain a dot (".") ...

  • Compile programs after linux installation

    Hello,
    when execute a transaction for first time after Linux installation the program is compiled. The server is a dialog instance with Red Hat and the central instance  and database server  have  HP-UX  O.S with Oracle. Why do this?
    Regards.

    ABAP programs are stored in text in the database table REPOSRC (often accessed from database view TRDIR).  The first time any ABAP program is executed, it must be compiled first.  Each time a program is executed, the compiled version is compared to the text version - if the text version has changed since the last compile, it will be compiled again.  If you have a heterogenous install (for example, Unix and Linux application servers), then the programs must be compiled once for each platform.
    The transaction code SGEN can help you to pre-compile all of your programs, if you wish.
    Cheers,
    David.

  • How can i compile a C program to run solaris 9 and 10?

    Hi,
    I need to compile a small C program to run on solaris 9 and 10. There is no C compiler on the target servers. I have compiled and tested the program on Linux over x86.
    I hope you can advise on the way forward. I see the following options:
    - install a C compiler, the lightest possible, on the target servers and compile the program
    or
    - set-up a sparc solaris (9 or 10) on top of virtualbox on my windows laptop, install the c compiler and then compile the program
    Thanks in advance.
    Gaby

    To run an application on both Solaris 9 and 10, you need to build it on Solaris 9. The application will then run on Solaris 9 and 10. (If you build on Solaris 10, you cannot expect the application to work on 9.)
    The most recent Studio version that can be run on Solaris 9 is Studio 12 (but not updates 1, 2, or 3).
    You can still get Studio 12 here, but since it dates from 2007, I don't know for how much longer.
    http://www.oracle.com/technetwork/server-storage/solarisstudio/downloads/ss12-136026.html
    Studio does not do cross-compilation, so you need to build on a system of the same type as the target system -- SPARC or x86. I don't know whether Solaris 9 can be installed on Virtual Box, but you can try. If it works, you can install the compiler, build on that system, then deploy on other Solaris 9 and 10 x86 systems.
    You can of course build the application on each of Solaris 9 and 10, but usually that is not necessary, and it complicates deployment and support.
    I believe Solaris 9 is End Of Life, so it would be a good idea to upgrade S9 systems to S10 or S11. I realize that such a change might not be up to you. :-)

  • Error while trying to install NI-VISA driver on SUSE LINUX 11.1(The version of gcc in the path does not match the version of gcc used to compile the currently running kernel.)

    hi i am trying to install NI-VISA driver on SUSE LINUX 11.1.
     the error message it shows is
              ******************************** ERROR ****************************************
    * The version of gcc in the path does not match the version of gcc used to    *
    * compile the currently running kernel.  This can cause unpredictable         *
    * behavior in kernel drivers and should be fixed.                             *
    * gcc version: Linux)                                                          *
    * kernel compiled with: 4.3.2                                                 *
    ******************************** ERROR ****************************************
    my kernel source version is 
       linux-8nes:/home/admin # rpm -qi kernel-source
    Name        : kernel-source                Relocations: /usr/src
    Version     : 2.6.27.29                         Vendor: openSUSE
    Release     : 0.1.1                         Build Date: Sun 16 Aug 2009 03:43:52 PM IST
    Install Date: Sat 24 Oct 2009 02:13:12 AM IST      Build Host: rinck
    Group       : Development/Sources           Source RPM: kernel-source-2.6.27.29-0.1.1.src.rpm
    Size        : 309251954                        License: GPL v2 only
    Signature   : RSA/8, Sun 16 Aug 2009 03:57:25 PM IST, Key ID b88b2fd43dbdc284
    Packager    : http://bugs.opensuse.org
    URL         : http://www.kernel.org/
    Summary     : The Linux Kernel Sources
    Description :
    Linux kernel sources with many fixes and improvements.
    Authors:
        Linus Torvalds <[email protected]>
        see /usr/src/linux/CREDITS for more details.
    Source Timestamp: 2009-08-15 17:53:59 +0200
    GIT Revision: 8a413546901c407e96f7fba18574cceeb40452af
    GIT Branch: SLE11_BRANCH
    Distribution: openSUSE 11.1 
    i had also installed GCC 4.3.2.
    it shows the error message as i had posted.
    please kindly help me on this.
    Thanks and regards,
    P.karthick

    Check this solution

  • I have jsdk2, but I can't compile servlet program

    I have jsdk2 version. which create in my c:\ dirve a folder jdk1.3. I do all the program from that. But I found that some of the class files of Servlet (servletRespose etc ) is missing. What I do to recover that. Even I can't compile any servlet program from that. Pls reply to my problems.
    Regards.
    Ranjan

    The Servlet API is part of J2EE (Java 2 Enterprise Edition). It is not included in the Standard Edition.
    So you need to download and install the J2EE reference implementation or another servlet engine such as Apache Tomcat ( http://jakarta.apache.org/tomcat ). Don't forget to put the Tomcat JAR files in your CLASSPATH when compiling your servlet program.
    Jesper

  • I can't compile

    Hello,
    I am having trouble using java on my home PC. I have version 1.5.0 installed but whenever I try and compile a program i.e. 'javac' I get the message "'javac is not recognized as an internal or external command, operable program or batch file."
    Now the thing is I CAN run java programs (i.e. programs that already have been compiled). So does anyone have any ideas of what I need to do, in order for me to be able to compile a program?
    Many thanks in advance

    Note: That's for the specific version of 1.4.2 --you may want to get the >latest version instead,
    which is why I suggested you start at the main >page
    and find it yourself.
    Does it make any difference if I have Java 1.5.0 and
    SDK 1.4.2 or will they not be compatible with each
    other?
    ThanksNo it will be grand, both of them will work fine together but you could uninstall 1.5 and use you SDK to both run and compile programs, it's up to you

  • I can't compile this, why?

    I do not possess any means of compiling any .java file that imports javax.* or anything J2SE-related, thus, I have to compile it remotely on a remote host (www.myjavaserver.com), however, for some reason this file will not compile but will not produce any errors, warnings, or any display of any kind - but no .class file is ever found.
    import java.io.*, java.util.*, javax.servlet.*, javax.servlet.http.*;
    * Borrowed from http://forum.java.sun.com/thread.jspa?threadID=703076
    * @access public
    * @author Phil Powell
    public class RequestParameterResetter extends HttpServletRequestWrapper {
        private HttpservletRequest origRequest;
        private Map<String, String> parameterMap;
        public RequestParameterResetter(HttpServletRequest request) {
            super(request);
            origRequest = request;
            parameterMap = new HashMap<String,String>();
        public String setParameter(String key, String value) {
            String oldValue = parameterMap.put(key,value);
            if (oldValue == null) oldValue = origRequest.getParameter(key);
            return oldValue;
        public String getParameter(String key) {
            String value = parameterMap.get(key);
            if (value == null) value = origRequest.getParameter(key);
            return value;
    }Could someone tell me what I'm missing in order for this to properly compile?
    Thanx
    Phil

    Sorry I can't do that, as much as I want to. My
    computer is very ancient and has too little memory to
    run any kind of server program, especially a
    Java-related one. I tried with Eclipse a while back
    (2 years ago and never figured it out, way too hard
    in spite of my PC's inability to interact with it)
    nearly destroyed my machine with it.You actually don't need to run any server. You just need to get the .JAR files (you should try to get the same server and version that you deploy on ... but that may not be possible). Then you put them in your Java Classpath, and you will be able to compile (from command line, or whatever). You could then un-install the server if you wanted to...
    >
    That means I can only compile J2SE formatted classes
    remotelyThat would be J2EE. J2SE is the standard edition, where you get the compiler, java.lang.String, java.util.Date, and all the rest of the core stuff. J2EE is the enterprise edition for getting the javax.servlet packages (among others).
    More comments on how you might change added as comments in the code...
    on www.myjavaserver.com - provided it is
    working.
    I made the changes necessary and still can't compile
    it!
    package ppowell;
    import java.io.*;
    import java.util.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    * Borrowed from
    m
    http://forum.java.sun.com/thread.jspa?threadID=703076
    * @version JSDK 1.2
    The class is a Java 5.0 class, it won't compile to JSDK 1.2.
    Ask myjavaserver.com to see how you can get ahold of the error logs so you can see what messages are generated.
    * @author Phil Powell
    * @package PPOWELL
    public class RequestParameterResetter extends
    HttpServletRequestWrapper {
    private HttpServletRequest origRequest;
    private Map<String, String> parameterMap;//if you want to use non JSE 5.0, then this line should be:
    //        private Map parameterMap;
    >
    public
    blic RequestParameterResetter(HttpServletRequest
    request) {
    super(request);
    origRequest = request;
    parameterMap = new HashMap<String,String>();//if you want to use non JSE 5.0, then this line should be:
    //            parameterMap = new HashMap();
    public String setParameter(String key, String
    ring value) {
    String oldValue = parameterMap.put(key,value);//if you want to use non JSE 5.0, then this line should be:
    //        String oldValue = (String) parameterMap.put(key,value);
    if (oldValue == null) oldValue = origRequest.getParameter(key);
    return oldValue;
    public String getParameter(String key) {
    String value = parameterMap.get(key);//if you want to use non JSE 5.0, then this line should be:
    //            String value = (String)parameterMap.get(key);
    if (value == null) value =
    value = origRequest.getParameter(key);
    return value;

  • Can't compile APPS.PN_SPACE_ASSIGN_EMP_PKG !!!

    Dears,
    I have Oracle Applications 11.5.10.2 on Linux RED HAT 4.
    I face the error below when i try to compile the following packages:
    symptom: Can't compile APPS.PN_SPACE_ASSIGN_EMP_PKG and
    APPS.PN_SPACE_ASSIGN_CUST_PKG
    symptom: PLS-00390: undefined column 'UOM_CODE' in INSERT statement
    symptom: PLS-00302: component 'UOM_CODE' must be declared
    symptom: PLS-00417: unable to resolve "UOM_CODE" as a column
    I issued "adodfcmp" command below :
    $ adodfcmp odffile=$AR_TOP/patch/115/odf/artrx.odf userid=pn/pn changedb=yes \
    priv_schema=system/manager mode=views touser=apps/apps \
    logfile=$APPLTMP/mylogfile.log
    But the problem is still there!
    Have you ever come across such a problem?
    Please advise ..
    Firas

    If Oracle Property Manager is not installed then you can ignore it as mentioned in the above note.
    But since you tried to compile it using userid=pn/pn, then I assume you use this module.
    Do you get 'APP-PN-49676' error at the application level? If so, I suggest you consider applying Patch 5219553 on PN.J
    If you already have this patch applied, I suggest you raise a SR with Oracle support.

  • Can't compile this sourcecode

    why i can't compile this source code??
    if i not mistaken the error like this "can't read bla..bla(i din't remember)"
    (i've install all the java package..)
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.util.Date;
    import java.util.Hashtable;
    * Date Servlet
    * This is a simple servlet to demonstrate server-side include
    * It returns a string representation of the current time.
    * @author Scott Atwood
    * @version 1.12, 08/29/97
    public class DateServlet extends HttpServlet {
    public void service(HttpServletRequest req, HttpServletResponse res)
         throws ServletException, IOException
    Date today = new Date();
    res.setContentType("text/plain");
    //getOutputStream ni aper?
    ServletOutputStream out = res.getOutputStream();
    out.println(today.toString());
    public String getServletInfo() {
    return "Returns a string representation of the current time";

    Try it again. And this time write down the error message you get so you can ask a coherent question.

  • Can't compile javax.xml.soap

    I can't compile the following code:
    import javax.xml.soap.SOAPConnectionFactory;
    import javax.xml.soap.SOAPConnection;
    public class SOAPTip {
    public static void main(String args[]) {
    try {
    //First create the connection
    SOAPConnectionFactory soapConnFactory =
    SOAPConnectionFactory.newInstance();
    SOAPConnection connection =
    soapConnFactory.createConnection();
    //Close the connection
    connection.close();
    } catch(Exception e) {
    System.out.println(e.getMessage());
    It says that "package javax.xml.soap can't be found", I don't know why, because I have installed my JSDK and its respective path in the enviroment variables and the JWSDK too with its path in the environment variable, so, what else do I have to do so the compiler can recognize that library????

    I find that if I have install J2ee in C:\Java\j2ee, then I can compile your modules with this line:
    javac -classpath C:\Java\j2ee\lib\j2ee.jar SOAPTip.java

  • Migrating MS SQL 2005 to Oracle 9i  (sqlserver_utilities can't compile)

    The package sqlserver_utilities can’t compile. (SQLSERVER_UTILITIES Body Compiled (with errors) )
    I am migrating a MS SQL 2005 database to an Oracle 9i database. I have the following installed:
    •     Oracle 9i Enterprise Edition Release 9.2.0.1.0 –Production with the partitioning, Spatial, Olap, and Oracle data mining options.
    •     Internal to Oracle SQL Developer (client-only) 1.5.0.53.04
    •     JTDS JDBC Driver 11.4.4.53.01 oracle.sqldeveloper.thirdparty.drivers.sqlserver
    •     Java(TM) Platform 1.5.0_06
    The MS SQL 2005 Database consists out of multiple tables, views, stored procedures, functions and triggers. I tried quick migrate only to find that the migration failed.
    For a simple migration test I created a test database in MSQL 2005. This database has a simple table with an identity field and a store procedure that does an insert into the table. I followed all the steps to migrate a sql database and everything seemed to work. In Oracle I can now find the migrated table and stored procedure. I also see that the migration tool has created a sequence to deal with the identity field (in combination with a trigger) . when I try to execute the insert stored procedure in Oracle it fails. When I started looking at the log messages I see:
    INSERT INTO "DBO_STOREDPROCEDURETEST"."SOMEOTHERTABEL" (SOMEOTHERTABELTEXT, SOMEOTHERTABELCODE, VERYBASICTABLEID) VALUES ('sdfgsdfg', 'sdgfsdfg', '1')
    One error saving changes to table "DBO_STOREDPROCEDURETEST"."SOMEOTHERTABEL":
    Row 3: ORA-04068: existing state of packages has been discarded
    ORA-04063: has errors
    ORA-04063: package body "DBO_STOREDPROCEDURETEST.SQLSERVER_UTILITIES" has errors
    ORA-06508: PL/SQL: could not find program unit being called
    ORA-06512: at "DBO_STOREDPROCEDURETEST.SOMEOTHERTABEL_SOMEOTHERTABE_1", line 19
    ORA-04088: error during execution of trigger 'DBO_STOREDPROCEDURETEST.SOMEOTHERTABEL_SOMEOTHERTABE_1'
    ORA-06512: at line 1
    INSERT INTO "DBO_STOREDPROCEDURETEST"."SOMEOTHERTABEL" (SOMEOTHERTABELTEXT, SOMEOTHERTABELCODE, VERYBASICTABLEID) VALUES ('sadf', 'asfd', '1')
    One error saving changes to table "DBO_STOREDPROCEDURETEST"."SOMEOTHERTABEL":
    Row 3: ORA-04068: existing state of packages has been discarded
    ORA-04063: has errors
    ORA-04063: package body "DBO_STOREDPROCEDURETEST.SQLSERVER_UTILITIES" has errors
    ORA-06508: PL/SQL: could not find program unit being called
    ORA-06512: at "DBO_STOREDPROCEDURETEST.SOMEOTHERTABEL_SOMEOTHERTABE_1", line 19
    ORA-04088: error during execution of trigger 'DBO_STOREDPROCEDURETEST.SOMEOTHERTABEL_SOMEOTHERTABE_1'
    ORA-06512: at line 1
    I then noticed the sqlserver_utilities package compiled with errors. It seems that DBMS_DB_VERSION.VER_LE_9_2 and REGEXP_INSTR doesn’t exists. (see code beneath)
    -- only for 10g
    IF NOT DBMS_DB_VERSION.VER_LE_9_2 THEN
    IF REGEXP_INSTR(temp_exp,
    '^\{d[[:space:]]*''([[:digit:]]{4})-([[:digit:]]{2})-([[:digit:]]{2})''\}$') = 1 THEN -- ISO861 format
    -- e.g. {d '2004-05-23' }
    temp_exp := REGEXP_REPLACE(temp_exp,
    '^\{d[[:space:]]*''([[:digit:]]{4})-([[:digit:]]{2})-([[:digit:]]{2})''\}$',
    '\1-\2-\3');
    format_str := 'YYYY-MM-DD';
    Question 1: How do I solve this problem? (the oracle database must be Oracle 9i)
    Question 2: How can I migrate an MS SQL 2005 DB to oracle 9i ? (with views, triggers, stored procedures )
    Message was edited by:
    user640306

    Hi user640306,
    FUNCTION str_to_date(p_date_expr IN VARCHAR2)
    RETURN DATE
    has the 10g regexp code
    IF format_str IS NOT NULL THEN
    RETURN TO_DATE(temp_exp, format_str);
    ELSE
    RETURN TO_DATE(temp_exp, 'DD-MON-YYYY HH24:MI:SS');
    END IF;
    It defaults to 'DD-MON-YYY HH24:MI:SS' I suggest altering the code to suite how you want string to date to work in your locale.
    FUNCTION str_to_date(p_date_expr IN VARCHAR2)
    RETURN DATE
    IS
    temp_val NUMBER;
    temp_exp VARCHAR2(50);
    format_str VARCHAR2(50) := NULL;
    BEGIN
    IF p_date_expr IS NULL THEN
    RETURN NULL;
    END IF;
    temp_exp := TRIM(p_date_expr);
    -- only for 10g code removed this was trying
    -- to work out the date mask using regular expressions.
    IF format_str IS NOT NULL THEN
    RETURN TO_DATE(temp_exp, format_str);
    ELSE
    --If you use this code insert an appropriate data mask,
    --default is  'DD-MON-YYYY HH24:MI:SS'
    RETURN TO_DATE(temp_exp, 'DD-MON-YYYY HH24:MI:SS');
    END IF;
    EXCEPTION
    WHEN OTHERS THEN
    RETURN NULL;
    END str_to_date;
    -Turloch

  • After updating to ML and Xcode 4.5.1, can't compile anything

    Hi, hoping someone here will be able to give me a clue.
    I used to compile a unix program called ffmpeg and about 12 dependencies.  It is somewhat complex, but I have a script for updating the programs.  When Lion came out I had to make some minor changes, including specifying --cc=clang in the ffmpeg configure step.  Now with Mountain Lion and Xcode 4.5.1 I can't compile anything.
    Rather than downloading and installing the command-line tools, which I understand just duplicate what is in Xcode, I added /Applications/Xcode.app/Contents/Developer/usr/bin to my path so that any configuration script would be able to get to the tools.
    Nothing is compiling at all.  Basically the compiler fails some tests in the scripts.  Each program gives different error messages, but it all looks like the compiler is wrong.
    Strangely, when I investigated the compilers in the above directory, I found that gcc (I guess the default) is an alias to llvm-gcc-4.2, in another folder.  But when I just type gcc in a terminal, I get:
    i686-apple-darwin11-llvm-gcc-4.2: no input files
    So it is actually using a different compiler for reasons I don't understand, and I don't know if that is correct behavior, or if it is related to my inability to compile.
    In case it is not obvious, I am just knowledgeable enough to be dangerous with this stuff.
    Thanks,
    Jim

    Gee, you mean you can't believe everything you read on the internet?? ;-)
    Well you're right.  After installing the tools, all the programs appeared to compile fine . . . except ffmpeg.  The terminal response at the end is
    gcc is unable to create an executable file.
    If gcc is a cross-compiler, use the --enable-cross-compile option.
    Only do this if you know what cross compiling means.
    C compiler test failed.
    The config.log starts with the configure command:
    ./configure --prefix=/Volumes/Ramdisk/sw --enable-nonfree --enable-gpl --enable-version3 --arch=x86_64 --enable-hardcoded-tables --enable-libvo-aacenc --enable-libmp3lame --enable-libx264 --enable-libvorbis --enable-libgsm --enable-avfilter --enable-filters --enable-libtheora --enable-libspeex --disable-indevs --disable-outdevs --disable-ffserver --disable-network
    And ends with:
    check_ld cc
    check_cc
    BEGIN /var/folders/sy/2d072p1s4sdc95lpnwp6s3jh0000gn/T//ffconf.huTMXBG3.c
        1          int main(void){ return 0; }
    END /var/folders/sy/2d072p1s4sdc95lpnwp6s3jh0000gn/T//ffconf.huTMXBG3.c
    gcc -I/Volumes/Ramdisk/sw/include
    -c -o /var/folders/sy/2d072p1s4sdc95lpnwp6s3jh0000gn/T//ffconf.ZC6xNAgf.o /var/folders/sy/2d072p1s4sdc95lpnwp6s3jh0000gn/T//ffconf.huTMXBG3.c
    i686-apple-darwin11-llvm-gcc-4.2: \n: No such file or directory
    C compiler test failed.
    Any idea what's wrong now?  The compiler still seems to be wrong for this program.  This is the program for which in the past, I had to add --cc=clang - but now if I do that it just says "clang is unable . . ." instead of "gcc is unable . . ."
    The next to last line in the config.log has me puzzled though - a newline tripping it up?

  • [Solved] Can't compile lastfm-client

    Hi!
    I'm having some problems compiling lastfm-client from AUR. Long story short, I'll just post the output of makepkg
    g++ -Wl,-rpath,/usr/lib -shared -Wl,-soname,libMoose.so.1 -o libMoose.so.1.0.0 ../../build/Moose/release/confirmdialog.o ../../build/Moose/release/MooseCommon.o ../../build/Moose/release/LastFmSettings.o ../../build/Moose/release/moc_confirmdialog.o ../../build/Moose/release/moc_LastFmSettings.o -L/home/shin/lfm/src/last.fm-1.5.1.31879/bin -L/usr/lib -lLastFmTools -lQtXml -L/usr/lib -pthread -pthread -lQtGui -L/usr/X11R6/lib -pthread -lpng -lSM -lICE -pthread -pthread -lXi -lXrender -lXrandr -lXfixes -lXcursor -lXinerama -lfreetype -lfontconfig -lXext -lX11 -lQtNetwork -lssl -lcrypto -pthread -pthread -lQtCore -lz -lm -pthread -lgthread-2.0 -lrt -lglib-2.0 -ldl -lpthread
    ln -s libMoose.so.1.0.0 libMoose.so
    ln -s libMoose.so.1.0.0 libMoose.so.1
    ln -s libMoose.so.1.0.0 libMoose.so.1.0
    rm -f ../../bin/libMoose.so.1.0.0
    rm -f ../../bin/libMoose.so
    rm -f ../../bin/libMoose.so.1
    rm -f ../../bin/libMoose.so.1.0
    mv -f libMoose.so.1.0.0 libMoose.so libMoose.so.1 libMoose.so.1.0 ../../bin/
    make[1]: Leaving directory `/home/shin/lfm/src/last.fm-1.5.1.31879/src/libMoose'
    cd src/libFingerprint/fplib/pro_qmake/ && make -f Makefile.fplib
    make[1]: Entering directory `/home/shin/lfm/src/last.fm-1.5.1.31879/src/libFingerprint/fplib/pro_qmake'
    make[1]: *** No rule to make target `/usr/share/qt4/mkspecs/linux-g++/qmake.conf', needed by `Makefile.fplib'. Stop.
    make[1]: Leaving directory `/home/shin/lfm/src/last.fm-1.5.1.31879/src/libFingerprint/fplib/pro_qmake'
    make: *** [sub-src-libFingerprint-fplib-pro_qmake-fplib-pro-make_default-ordered] Error 2
    mv: cannot stat `build/fplib/libfplib_debug.a': No such file or directory
    ==> ERROR: Build Failed.
    Any ideas?
    Last edited by lateralus (2008-11-09 15:59:28)

    kazuo wrote:
    lateralus wrote:
    make[1]: *** No rule to make target `/usr/share/qt4/mkspecs/linux-g++/qmake.conf', needed by `Makefile.fplib'. Stop
    Any ideas?
    The qt4 path is wrong, qmake.conf is installed on /usr/share/qt/mkspecs/linux-g++/qmake.conf.
    The PKGBUILD is from commubity correctly? it have a sed to change qt4 to qt, I don't know why it is commented you can try to change it.
    OK, I've made an symbolic link /usr/share/qt -> /usr/share/qt4 and now it works. PKGBUILD was straight from the AUR CVS.
    Thanks!

Maybe you are looking for

  • Do I need a new printer?

    I have a Deskjet 812C connected to my 24" iMac. When I try to print out a text document with Word or Appleworks, the font is wrong; it's elongated and gets cut off by the next line of text. If I print out a picture, I get a few pages of jibberish bef

  • WebHelp search not working on some OS/browsers

    Hello, I created a help system and generated WebHelp for the client. Now that they have it on their site, they're having issues with different operating systems and browsers. This is probably something basic that I should have learned about long ago,

  • Final Cut Pro 10.1.1 Crash when rendering starts

    Process:         Final Cut Pro [527] Path:            /Users/USER/Desktop/Final Cut Pro.app/Contents/MacOS/Final Cut Pro Identifier:      com.apple.FinalCut Version:         10.1.1 (240682) Build Info:      ProEditor-24068002033000000~1 Code Type:   

  • EA21 Adjustment reversal

    When I used the transaction EA21 both the billing document & the invoice document got reversed. Is this a valid scenario ?? then after adjustment when i rebilled a new invoice document got genertaed which contains the old details as credit and the ne

  • Selection tool Contact sensitive?

    Hello Is there any way to change the behavior of the selection tool in InDesign (CS3 Leopard). In some of the old programs I have worked with, there was an option in preferences, where you could check a box if you wanted the tool to only select an it