Configure: error: Cannot find GLX header

I install gtkglext from its source code and get an error after the 'configure' command.
bash-3.00$ ./configure
checking GL/glx.h usability... no
checking GL/glx.h presence... no
checking for GL/glx.h... no
configure: error: Cannot find GLX header
I guess the OpenGL files are not installed during Solaris 10 installation. Could someone tell me where can I get opengl files? Are they in the Solaris 10 installation disks? How to install opengl files?

On my installation I have both NVidia and mesa drivers installed, thus two sets of GL headers/libraries.
For Mesa: SUNWxorg-mesa
Nvidia: NVDAgraphics
If you want to develop on your system you may want to install much more than just GL headers.
Its a pity that Solaris packaging is not really flexible, so you better do a full install indeed...
regards,
__Fedor.

Similar Messages

  • Configure: error: Cannot find php-config

    After security update 2008-002 for Leopard, the PHP module builder stops, because the PHP version running on the machine doesn't match the header files from the PHP-developer part. More info see: http://www.naquah.net/blog/dennis/2008/03/20/how-to-get-eaccelerator-working-aga in-after-installing-security-update-2008-0#comment-50
    After editing /usr/bin/php-config
    Change
    version="5.2.4" to version="5.2.5" and
    vernum="50204" to vernum="50205"
    and /usr/include/php/main/php_version.h
    Change
    #define PHPRELEASEVERSION 4 to #define PHPRELEASEVERSION 5
    #define PHP_VERSION "5.2.4" to #define PHP_VERSION "5.2.5" and
    #define PHPVERSIONID 50204 to #define PHPVERSIONID 50205
    the ./configure command stops with a:
    configure: error: Cannot find php-config. Please use --with-php-config=PATH
    even when explicitly specifying the php-config location, the ./configure --with-php-config=/usr/bin/php-config command still throws an identical error.
    The file is there, accessible and not empty:
    $ ls -l /usr/bin/php-config
    -r-xr-xr-x 1 root wheel 3031 22 mrt 21:44 /usr/bin/php-config
    $ head /usr/bin/php-config
    #! /bin/sh
    SED="/usr/bin/sed"
    prefix="/usr"
    exec_prefix="${prefix}"
    version="5.2.5"
    vernum="50205"
    include_dir="${prefix}/include/php"
    includes="-I$include_dir -I$include_dir/main -I$include_dir/TSRM -I$include_dir/Zend -I$include_dir/ext -I$include_dir/ext/date/lib"
    ldflags=" -L/usr/lib/mysql"
    Re installing Xcode 3.0 didn't solve the problem.
    What could be done to repair the (php) configure command, to allow me to build php modules again?

    On my installation I have both NVidia and mesa drivers installed, thus two sets of GL headers/libraries.
    For Mesa: SUNWxorg-mesa
    Nvidia: NVDAgraphics
    If you want to develop on your system you may want to install much more than just GL headers.
    Its a pity that Solaris packaging is not really flexible, so you better do a full install indeed...
    regards,
    __Fedor.

  • Building PHP 5.2.5 and MySQL (Cannot find MySQL header files under /usr.)

    Hi,
    we are in big trouble here. On Mac OS X 10.4 it was no problem building PHP with additional modules. Unfortunately it´s not working this time.
    This is the error message i got when building php:
    checking for mSQL support... no
    checking for MSSQL support via FreeTDS... no
    checking for MySQL support... yes
    checking for specified location of the MySQL UNIX socket... /var/mysql/mysql.sock
    checking for MySQL UNIX socket location... /var/mysql/mysql.sock
    configure: error: Cannot find MySQL header files under /usr.
    Note that the MySQL client library is not bundled anymore!
    Looks like some libs are missing?!
    find / -iname 'libmysqlclient*'
    That doesn´t helper neither. No results.
    Any idera what´s wrong here?

    the php in 10.5 uses extensions, you do not need to rebuild php to get mssql to work..
    Take a look at http://downloads.topicdesk.com/docs/AddingGD2_to_PHP_on_OS_X_Server_10_5Leopard.pdf
    as you can see in that example GD is built separately, mssql is the same.. do a google search on mssql.so and you will find a bunch of info (most of it is for linux but you should be able to get the info to work)

  • Cannot find Main Header in XMBMessage

    Hi
    I am implementing a JDBC Receiver using the J2SE Adapter Engine.
    We've already implemented another JDBC Receiver which works fine, but for the payload shown below I receive the following exception from the J2SE Adapter Engine:
      com.sap.aii.messaging.mo.MalformedMessageException
      Cannot find Main Header in XMBMessage
    What does this error message mean and how do I correct it?
    Is there documentation available somewhere to describe the possible error messages from this exception and what they mean?
    thank you
    Werner Pyke
    Cape Town, South Africa
    <?xml version="1.0" encoding="UTF-8" ?>
    <ns3:Items xmlns:ns3="urn:pnp:arms:ddic">
      <Statement>
        <SAP_BasicItem action="EXECUTE">
           <table>SAP_BasicItem</table>
           <gtin type="NUMERIC">6001001</gtin>
           <description type="VARCHAR">ARTICLE1</description>
         </SAP_BasicItem>
      </Statement>
      <Statement>
         <SAP_BasicItem action="EXECUTE">
           <table>SAP_BasicItem</table>
           <gtin type="NUMERIC">6001002</gtin>
           <description type="VARCHAR">ARTICLE2</description>
         </SAP_BasicItem>
      </Statement>
    </ns3:Items>

    Check, if the XI version in the receiver adapter is set correctly (XI 2.0 or XI 3.0)
    Stefan

  • Installation error:  Cannot find a J2SE SDK installed at path C:\Program Fi

    I am installing latest version of SQL Developer, Release 1.2. I have Sun Java 2 Standard Edition Version 1.5.0 (build 1.5.0_10-b03). When I browse and select the java.exe found it comes up with error: Cannot find a J2SE SDK installed at patch
    C:\Program Files\Java\jre1.5.0_10
    I am installing the version I downloaded for Windows systems with JDK1.5.
    I have tried on two different machines.
    Any ideas?

    This is going to seem loooong, but comprehensive.
    I'd initially always suggest using the bundled
    package, since that's supposed to be a tested and
    proven combination.You know what, I'm gonna be mighty surprised if you're implying that Oracle hasn't 'tested and proven' the releases at http://www.oracle.com./technology/software/products/sql/index.html other than the first 77 MB download labeled Oracle SQL Developer for Windows... :)
    After having problems with a graphics card for
    example, installing the latest JDK might be
    indicated.Huh?!? Not a clue what you're talkin' 'bout! :S
    It's also easy for users who don't know which Java
    version to download, or even where to find it! You
    guys have proven that: although it's stated you need
    .First of all, it says right there on the download page (http://www.oracle.com./technology/software/products/sql/index.html) that:
    "JDK 1.5 (JDK 5.0) is required. This is the minimum JDK version required"
    And we've "proven that [..] although it's stated you need the JDK, [we]'ve tried running with the JRE" and have NOT been able to run the application. It just presents the user a dialog box to locate the 'SDK' manually and exits gracefully if you try to dismiss it. So, conclusively proven, the JDK (or as SQL Developer puts it, Java SDK) is required- QED.
    And given users might have several versions running
    on the same machine (I have half a dozen), sqldev
    could easily pick up a wrong version.And every JRE installation (atleast all of Sun's) make sure they update the default (via PATH and other required system variables) JRE point to the latest one installed. So if you have anything 1.5+ you're good to go; if not, you've got an incompatile JRE. Doesn't sound that hard to me!
    As for being bulky, even without the bundled JDK, it
    still is.Ya missed the point. Developers are making Java applications bulkier by including the JRE/JDK with their distributions. A SQL Developer release sans JDK is about 46 MB; with JDK that climbs to 77 MB (sizes quoted from download page linked above).
    Imagine what happens when you have, besides SQL Developer (JDK 1.5 included), some-cool-java-app that also includes the JRE/JDK it was built on; and then another-java-app that also includes a JRE/JDK... I bet JDeveloper also comes with a JDK bundled in. So, now you have FOUR copies of JRE/JDK (aside from the "have half a dozen" that probably installed themselves via Java Update Checker)!
    Here's the big picture, the savings in disk space would only be the beginning of your benefits. Here's a few others:
    - Class Data Sharing (http://java.sun.com/javase/6/docs/technotes/guides/vm/class-data-sharing.html) introduced in Java SE 5.0 provides for storing definitions of commonly used classes in a representation closer to machine code, even closer than bytecode, this reducing load and startup time. Plus all VM's launced using that particular distribution get to share the cache- Performace+ !!
    Running each app offa' it's own VM just causes multiple caches to be loaded. You just multiplied your losses! :(
    - Sun is currently working on a way to have applications simply inject into a running JVM. That way, there is no load and startup time for the JVM, just the time to load you app classes. Using different distros would completely defeat this!
    (The reason why this feature isn't out yet is because they're still trying to make it possible to specify hitherto VM configurations like security and logging as application configurations. Then there's also the issue of setting up class loading boundaries between applications.
    You say you don't have to bring over the VB runtime
    for each app? I remember in the 90's doing it all the
    time. Of course, being MS, now that's not necessary
    anymore, since it's "magical" Windows. I don't have
    any machine from Sun, but for sure they've got Java
    bundled with it, right?I don't believe you had to do that since VB 5; and that's because MS realized that they messed up on this very point upto then! Sun worked the simple solution to that into their deployment strategy- install only ONE runtime and run all apps off that. As for you're half-a-dozen, I think you can safely uninstall the five older versions; because, even today, people are running apps developed using JDK1.1 on Java SE 6.0!
    Again, I find the most logical difference between JRE
    and JDK being the debugger. As you say it yourself:
    JRE for end-users, who don't need to do any
    debugging.
    Now, sqldev is not just a table browser, but also for
    debugging PL/SQL. 1 + 1 = 2.I think it's a little naive to differentiate between the JRE and JDK on just the debugger! Aside from the obvious inclusion of a compiler, the JDK has several other tools for monitoring/managing the heap, threads and logging on the fly. There's also the Doclet API and Sun's javadoc implementation, dev interfaces for instrumenting the VM, native interfaces, ...
    And I reiterate, we're talkin' PL/SQL developers here. Why would I want to give a PL/SQL developer a Java Development Kit?!? ;|
    Nevertheless, as said in the other thread, if the
    team discloses how to circumvent the SDK check at
    startup, you can go ahead and use the JRE. In any
    case, you'd have to agree that won't work as
    out-of-the-box solution...You're right, it won't work like a standard Windows OOTB app. But, it WILL work as a Java OOTB that only mandates that there be a JRE available; just like the scores of Java apps out there- from tiny little Pong clones to large IDE's like NetBeans.
    BTW, don't even think about quoting Websphere/Rational/Eclipse as counter-arguments. They are the biggest offenders as far as this issue goes. And jikes is an abomination, a curse Sun must carry as a result to opening the VM Spec. But, I digress...

  • Runtime Error "Cannot find system in table file"

    I need assistance!
    I have a Blackberry Curve 8310 and have recently installed Version 4.5
    I am trying to setup my synchronization.  I have followed the steps to setup my calendar to Outlook 2007.  It tells me Congratulations! You have successfully configured the product. However, when I press Finish, I get a Runtime Error "Cannot find system in table file"
    I have uninstalled the program and reinstalled it - the same error appears. 
    Any help would be appreciated!
    Solved!
    Go to Solution.

    FIGURED IT OUT!!!  
    The following steps, which are posted on the RIM Support will work; however, I had to do it a different way.  In Step 1, it states that the ilxolkCompanion.fil is located in C:\Program Files\Research In Motion\BlackBerry\Connectors\MS Outlook Connector path...however, when I searched for this file, it was actually located in C:\Program Files\Blackberry\Connectors\MS Outlook Connector.  (This could be because I upgraded from 4.2.2 to 4.5 w/o completing a clean uninstall...not too sure why)
    Once I located the file through the command prompt, I unregistered as per the instructions in Step 1.  I then followed step 2 exactly word for word...and VOILA!!!  I now have Version 4.5 working with MS Outlook 2007
     ResolutionIf the Connectors folder is still present in C\Program Files\Research In Motion\BlackBerry\Connectors\MS Outlook Connector, follow these steps:
    Unregister the old Microsoft Outlook connector ilxolkCompanion.fil.
    Open the command prompt.
    Navigate to C:\Program Files\Research In Motion\BlackBerry\Connectors\MS Outlook Connector.
    Type in the command regsvr32 -u ilxolkCompanion.fil.
    In Desktop Manager, Microsoft Outlook will no longer be listed as an available desktop application.
    Register the most current Microsoft Outlook connector.
    Navigate to C:\Program Files\Research In Motion\BlackBerry\IS71 Connectors\MS Outlook Connector.
    Type in the command regsvr32 msoutlookconnector.fil.
    In Desktop Manager, Microsoft Outlook will now be registered as an available desktop application.
    Once these steps have been completed, configure synchronization again.

  • Logging Error Message in Console  [Servlet Error]-[Cannot find FacesContex]

    Hi,
    I am using Web Application with JSF . but when i log in into the web appl everthing is fine but in back end i mean the console of RAD Tool having some logging Error message:
    SRVE0026E: [Servlet Error]-[Cannot find FacesContext]: javax.servlet.jsp.JspException: Cannot find FacesContext
    at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java(Compiled Code))
    at com.sun.faces.taglib.jsf_core.ViewTag.doStartTag(ViewTag.java(Compiled Code))
    at org.apache.jsp._index._jspService(_index.java:86)
    at com.ibm.ws.webcontainer.jsp.runtime.HttpJspBase.service(HttpJspBase.java(Compiled Code))
    at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
    at com.ibm.ws.webcontainer.jsp.servlet.JspServlet$JspServletWrapper.service(JspServlet.java(Compiled Code))
    at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.serviceJspFile(JspServlet.java(Compiled Code))
    at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.service(JspServlet.java(Compiled Code))
    So could you please help me find out the solution for this :
    While i am using the code in jsp page:
    <%@taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@taglib uri="http://www.ibm.com/jsf/html_extended" prefix="hx"%>
    <%@taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <HTML>
    <HEAD>
    <META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <META http-equiv="Content-Style-Type" content="text/css">
    <TITLE>Web App
         <f:view>
              <h:outputText value="#{dataInfo.info}"/>
         </f:view>
    </TITLE>
    Suggest me the solution:
    Regards,
    Prabhat

    This usually means that you call the JSF page the wrong way. Try something like http://hostname:port/servletcontextroot/faces/page.jspx
    --olaf                                                                                                                                                                                                                                                                                                   

  • In ME29n (PO appr), error "Cannot Find Screen Element shell in Replay Mode"

    In ME29n (PO approval), in the header I pressed on the release button, the recording went well. and while executing the script  it worked well.  Problem is When there is any change in the ME29n HEADER screen (e.g. expanding header and collapsing header: specially if header is in Collapsed mode) , ecatt is giving error "Cannot Find Screen Element shell in Replay Mode" "Error in eCATT command SAPGUI".
    Please help me how to avoid this error either in recording phase or in SAP settings.
    Also discuss how to make ecatt script independent of the system settings like HEADER is in collapsed mode or expanded mode.
    Thanks in advance.

    Hello Srinivas,
    Once the value is retrieved into the variable , based on whether you need collapse or not you can put ur SAPGUI recording inside the loop and continue ur operation.
    eg:
    say currently its collapse and u need collapse to carryout ur process
    IF ( RC = "COLLAPSE HEADER CTRL+F5" ).
    your process (SAPGUI recording)
    ELSE (if its expanded and u need collapse)
    call the script to collapse or you can record to collapse and the continue your process
    ENDIF.
    Hope this answers your question , let me know if not.
    Thanks & Best regards,
    Ajay

  • GRC CUP 5.3 Error: "Cannot find or initialize JSP Instance"

    Hello,
    Currently we are facing the below issue in GRC 5.3 CUP:
    When attempting to u201CChange a u201CCustom Approver Determinatoru201D in (GI0 Development) u2013 Configuration and we received the following error:
    Path: CUP-> Configuration -> Workflow-> Custom Approver Determinator'
    Error: 500 Internal Server Error: "Cannot find or initialize JSP Instance"
    Details of error: 'No details available'
    Any thoughts/inputs on the issues outlined would be appreciated.
    Thank you
    Regards
    Sridhar

    which SP you are on ?

  • [SOLVED] internal error Cannot find suitable emulator for x86_64

    Hi,
    After a reboot due to unrelated issues, virt-manager is not showing any of the VMs I had configured via qemu:
    I checked connection properties, and everything else is showing up correctly, like the networks and storage. I tried to create new VMs out of existing storage and got this message:
    Googling it suggested this happens when KVM module is not loaded. I modprobed kvm, kvm_intel and still got same result.
    Systemd gave me the following:
    % systemctl status libvirtd
    libvirtd.service - Virtualization daemon
    Loaded: loaded (/usr/lib/systemd/system/libvirtd.service; enabled)
    Active: active (running) since Sat 2013-06-08 08:55:19 IST; 29min ago
    Main PID: 1499 (libvirtd)
    CGroup: name=systemd:/system/libvirtd.service
    ├─ 834 /sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf
    ├─ 863 /sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/nat_static.conf
    ├─ 881 /sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/closed_dhcp.conf
    └─1499 /usr/bin/libvirtd -p /var/run/libvirtd.pid
    Jun 08 09:07:48 core libvirtd[1499]: internal error Cannot find suitable emulator for x86_64
    Jun 08 09:07:48 core libvirtd[1499]: internal error Cannot find suitable emulator for x86_64
    Jun 08 09:07:48 core libvirtd[1499]: internal error Cannot find suitable emulator for x86_64
    Jun 08 09:07:48 core libvirtd[1499]: internal error Cannot find suitable emulator for x86_64
    Jun 08 09:07:48 core libvirtd[1499]: internal error Cannot find suitable emulator for x86_64
    Jun 08 09:07:48 core libvirtd[1499]: internal error Cannot find suitable emulator for x86_64
    Jun 08 09:08:20 core libvirtd[1499]: internal error Cannot find suitable emulator for x86_64
    Jun 08 09:08:20 core libvirtd[1499]: internal error Cannot find suitable emulator for x86_64
    Jun 08 09:08:35 core libvirtd[1499]: internal error Cannot find suitable emulator for x86_64
    Jun 08 09:08:35 core libvirtd[1499]: internal error Cannot find suitable emulator for x86_64
    Googling that seems to indicate that this happens when virtualization is disabled by BIOS. But cpuinfo tells me that vm is supported:
    % grep vmx /proc/cpuinfo | uniq -c
    8 flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid
    Can anyone help me? Has anyone else faced a similar problem?
    Here are some version info:
    local/libvirt 1.0.6-1
    API for controlling virtualization engines (openvz,kvm,qemu,virtualbox,xen,etc)
    local/qemu 1.4.2-1
    A generic and open source processor emulator which achieves a good emulation speed by using dynamic translation.
    Of which, qemu got updated just today. I will try rolling back to older version and post and update.
    Ninja edit: Looks to be qemu. Just running qemu gives me this error:
    % qemu-system-x86_64
    qemu-system-x86_64: error while loading shared libraries: libiscsi.so.1: cannot open shared object file: No such file or directory
    EDIT: The resolution was
    pacman -S libiscsi libaio
    systemctl restart libvirtd
    EDIT2: Made subject line better searchable
    Last edited by railmaniac (2013-06-08 04:19:24)

    HI,
    First of all thanks a lot for this post. I am facing the same issue since yest.
    After reboot, my VMs gone missing and even virt-manager was not working (as shown in the screenshots which you have pasted in your post).
    Now after trying out the workout which you had mentioned, I am able to get the virt-manager working.
    But I am not sure if I can get back my missing VMs .
    I am new to linux. Kindly guide me on how I can get back those VMs.
    [root@skoduri lib64]# ls /etc/libvirt/qemu/
    networks  rhel6-vm2.xml  rhel6.xml
    [root@skoduri lib64]#
    [root@skoduri lib64]# ls /etc/libvirt/storage/
    autostart  default.xml  storage_1.xml
    [root@skoduri lib64]#
    [root@skoduri lib64]#
    Thanks,
    Soumya

  • Error: Cannot connect to fulfillment server. Error: cannot find loan record.

    Error: Cannot connect to fulfillment server. Error: cannot find loan record. Definitely connected to internet, authorization correct, etc. Not sure what else to look at.

    Is the computer join the domain?
    Run the following command to check the automatic configuration is working
    Nslookup
    >set type=srv
    >_sipinternaltls._tcp.<sip domain>.com(for internal user)
    >_sip._tls<sip domain>.com(for external user)
    If you can ping to FE, please try to sign in with manual configuration.
    Lisa Zheng
    TechNet Community Support

  • [SOLVED] configure: error: cannot run C compiled programs

    I'm trying to build lib32-libxkbcommon 0.5.0-1 from AUR with makepkg. I already tried installing pacman (setting the default makepkg.conf) and multilib-devel with no luck.
    makepkg messages:
    ==> Making package: lib32-libxkbcommon 0.5.0-1 (Mon May 11 00:17:05 EEST 2015)
    ==> Checking runtime dependencies...
    ==> Checking buildtime dependencies...
    ==> Retrieving sources...
    -> Found libxkbcommon-0.5.0.tar.xz
    ==> Validating source files with sha256sums...
    libxkbcommon-0.5.0.tar.xz ... Passed
    ==> Extracting sources...
    -> Extracting libxkbcommon-0.5.0.tar.xz with bsdtar
    bsdtar: Failed to set default locale
    ==> Starting prepare()...
    ==> Removing existing $pkgdir/ directory...
    ==> Starting build()...
    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 whether make supports nested variables... yes
    checking whether to enable maintainer-specific portions of Makefiles... yes
    checking for style of include used by make... GNU
    checking for gcc... gcc -m32
    checking whether the C compiler works... yes
    checking for C compiler default output file name... a.out
    checking for suffix of executables...
    checking whether we are cross compiling... configure: error: in `/mnt/tmp/yaourt-tmp-tsester/aur-lib32-libxkbcommon/src/libxkbcommon-0.5.0':
    configure: error: cannot run C compiled programs.
    If you meant to cross compile, use `--host'.
    See `config.log' for more details
    ==> ERROR: A failure occurred in build().
    Aborting...
    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
    #-- The package required by makepkg to download VCS sources
    # Format: 'protocol::package'
    VCSCLIENTS=('bzr::bzr'
    'git::git'
    'hg::mercurial'
    'svn::subversion')
    # 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=core2 -m64 -mfpmath=sse -O2 -fomit-frame-pointer -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="-j5"
    #-- Debugging flags
    DEBUG_CFLAGS="-g -fvar-tracking-assignments"
    DEBUG_CXXFLAGS="-g -fvar-tracking-assignments"
    # BUILD ENVIRONMENT
    # Defaults: BUILDENV=(!distcc color !ccache check !sign)
    # A negated environment option will do the opposite of the comments below.
    #-- 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=(!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:
    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 libxkbcommon configure 0.5.0, which was
    generated by GNU Autoconf 2.69. Invocation command line was
    $ ./configure --prefix=/usr --libdir=/usr/lib32 --disable-docs --disable-static
    ## Platform. ##
    hostname = Arch
    uname -m = x86_64
    uname -r = 4.0.1-1-ARCH
    uname -s = Linux
    uname -v = #1 SMP PREEMPT Wed Apr 29 12:00:26 CEST 2015
    /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/sbin
    PATH: /usr/local/bin
    PATH: /usr/bin
    PATH: /usr/lib/jvm/default/bin
    PATH: /usr/bin/site_perl
    PATH: /usr/bin/vendor_perl
    PATH: /usr/bin/core_perl
    ## Core tests. ##
    configure:2424: checking for a BSD-compatible install
    configure:2492: result: /usr/bin/install -c
    configure:2503: checking whether build environment is sane
    configure:2558: result: yes
    configure:2709: checking for a thread-safe mkdir -p
    configure:2748: result: /usr/bin/mkdir -p
    configure:2755: checking for gawk
    configure:2771: found /usr/bin/gawk
    configure:2782: result: gawk
    configure:2793: checking whether make sets $(MAKE)
    configure:2815: result: yes
    configure:2844: checking whether make supports nested variables
    configure:2861: result: yes
    configure:2987: checking whether to enable maintainer-specific portions of Makefiles
    configure:2996: result: yes
    configure:3023: checking for style of include used by make
    configure:3051: result: GNU
    configure:3122: checking for gcc
    configure:3149: result: gcc -m32
    configure:3378: checking for C compiler version
    configure:3387: gcc -m32 --version >&5
    gcc (GCC) 5.1.0
    Copyright (C) 2015 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:3398: $? = 0
    configure:3387: gcc -m32 -v >&5
    Using built-in specs.
    COLLECT_GCC=gcc
    COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-unknown-linux-gnu/5.1.0/lto-wrapper
    Target: x86_64-unknown-linux-gnu
    Configured with: /build/gcc-multilib/src/gcc-5-20150505/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 --enable-libmpx --with-system-zlib --with-isl --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=gnu --enable-gnu-indirect-function --enable-multilib --disable-werror --enable-checking=release --with-default-libstdcxx-abi=c++98
    Thread model: posix
    gcc version 5.1.0 (GCC)
    configure:3398: $? = 0
    configure:3387: gcc -m32 -V >&5
    gcc: error: unrecognized command line option '-V'
    gcc: fatal error: no input files
    compilation terminated.
    configure:3398: $? = 1
    configure:3387: gcc -m32 -qversion >&5
    gcc: error: unrecognized command line option '-qversion'
    gcc: fatal error: no input files
    compilation terminated.
    configure:3398: $? = 1
    configure:3418: checking whether the C compiler works
    configure:3440: gcc -m32 -march=core2 -m64 -mfpmath=sse -O2 -fomit-frame-pointer -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wl,-O1,--sort-common,--as-needed,-z,relro conftest.c >&5
    configure:3444: $? = 0
    configure:3492: result: yes
    configure:3495: checking for C compiler default output file name
    configure:3497: result: a.out
    configure:3503: checking for suffix of executables
    configure:3510: gcc -m32 -o conftest -march=core2 -m64 -mfpmath=sse -O2 -fomit-frame-pointer -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wl,-O1,--sort-common,--as-needed,-z,relro conftest.c >&5
    configure:3514: $? = 0
    configure:3536: result:
    configure:3558: checking whether we are cross compiling
    configure:3566: gcc -m32 -o conftest -march=core2 -m64 -mfpmath=sse -O2 -fomit-frame-pointer -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wl,-O1,--sort-common,--as-needed,-z,relro conftest.c >&5
    In file included from /usr/include/stdio.h:27:0,
    from conftest.c:11:
    /usr/include/features.h:365:25: fatal error: sys/cdefs.h: No such file or directory
    compilation terminated.
    configure:3570: $? = 1
    configure:3577: ./conftest
    ./configure: line 3579: ./conftest: No such file or directory
    configure:3581: $? = 127
    configure:3588: error: in `/mnt/tmp/yaourt-tmp-tsester/aur-lib32-libxkbcommon/src/libxkbcommon-0.5.0':
    configure:3590: error: cannot run C compiled programs.
    If you meant to cross compile, use `--host'.
    See `config.log' for more details
    ## Cache variables. ##
    ac_cv_env_CC_set=set
    ac_cv_env_CC_value='gcc -m32'
    ac_cv_env_CFLAGS_set=set
    ac_cv_env_CFLAGS_value='-march=core2 -m64 -mfpmath=sse -O2 -fomit-frame-pointer -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_DOT_set=
    ac_cv_env_DOT_value=
    ac_cv_env_DOXYGEN_set=
    ac_cv_env_DOXYGEN_value=
    ac_cv_env_LDFLAGS_set=set
    ac_cv_env_LDFLAGS_value=-Wl,-O1,--sort-common,--as-needed,-z,relro
    ac_cv_env_LIBS_set=
    ac_cv_env_LIBS_value=
    ac_cv_env_PKG_CONFIG_LIBDIR_set=
    ac_cv_env_PKG_CONFIG_LIBDIR_value=
    ac_cv_env_PKG_CONFIG_PATH_set=set
    ac_cv_env_PKG_CONFIG_PATH_value=/usr/lib32/pkgconfig
    ac_cv_env_PKG_CONFIG_set=
    ac_cv_env_PKG_CONFIG_value=
    ac_cv_env_XCB_XKB_CFLAGS_set=
    ac_cv_env_XCB_XKB_CFLAGS_value=
    ac_cv_env_XCB_XKB_LIBS_set=
    ac_cv_env_XCB_XKB_LIBS_value=
    ac_cv_env_XORG_MALLOC_DEBUG_ENV_set=
    ac_cv_env_XORG_MALLOC_DEBUG_ENV_value=
    ac_cv_env_YACC_set=
    ac_cv_env_YACC_value=
    ac_cv_env_YFLAGS_set=
    ac_cv_env_YFLAGS_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 -m32'
    ac_cv_prog_make_make_set=yes
    am_cv_make_support_nested_variables=yes
    ## Output variables. ##
    ACLOCAL='${SHELL} /mnt/tmp/yaourt-tmp-tsester/aur-lib32-libxkbcommon/src/libxkbcommon-0.5.0/build-aux/missing aclocal-1.14'
    ADMIN_MAN_DIR=''
    ADMIN_MAN_SUFFIX=''
    AMDEPBACKSLASH='\'
    AMDEP_FALSE='#'
    AMDEP_TRUE=''
    AMTAR='$${TAR-tar}'
    AM_BACKSLASH='\'
    AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
    AM_DEFAULT_VERBOSITY='1'
    AM_V='$(V)'
    APP_MAN_DIR=''
    APP_MAN_SUFFIX=''
    AR=''
    AUTOCONF='${SHELL} /mnt/tmp/yaourt-tmp-tsester/aur-lib32-libxkbcommon/src/libxkbcommon-0.5.0/build-aux/missing autoconf'
    AUTOHEADER='${SHELL} /mnt/tmp/yaourt-tmp-tsester/aur-lib32-libxkbcommon/src/libxkbcommon-0.5.0/build-aux/missing autoheader'
    AUTOMAKE='${SHELL} /mnt/tmp/yaourt-tmp-tsester/aur-lib32-libxkbcommon/src/libxkbcommon-0.5.0/build-aux/missing automake-1.14'
    AWK='gawk'
    BASE_CFLAGS=''
    BUILD_LINUX_TESTS_FALSE=''
    BUILD_LINUX_TESTS_TRUE=''
    CC='gcc -m32'
    CCDEPMODE=''
    CFLAGS='-march=core2 -m64 -mfpmath=sse -O2 -fomit-frame-pointer -pipe -fstack-protector --param=ssp-buffer-size=4'
    CHANGELOG_CMD=''
    CPP=''
    CPPFLAGS='-D_FORTIFY_SOURCE=2'
    CWARNFLAGS=''
    CYGPATH_W='echo'
    DEFS=''
    DEPDIR='.deps'
    DLLTOOL=''
    DOT=''
    DOXYGEN=''
    DRIVER_MAN_DIR=''
    DRIVER_MAN_SUFFIX=''
    DSYMUTIL=''
    DUMPBIN=''
    ECHO_C=''
    ECHO_N='-n'
    ECHO_T=''
    EGREP=''
    ENABLE_DOCS_FALSE=''
    ENABLE_DOCS_TRUE=''
    ENABLE_X11_FALSE=''
    ENABLE_X11_TRUE=''
    EXEEXT=''
    FGREP=''
    FILE_MAN_DIR=''
    FILE_MAN_SUFFIX=''
    GREP=''
    HAVE_DOT=''
    HAVE_DOT_FALSE=''
    HAVE_DOT_TRUE=''
    HAVE_DOXYGEN_FALSE=''
    HAVE_DOXYGEN_TRUE=''
    HAVE_NO_UNDEFINED_FALSE=''
    HAVE_NO_UNDEFINED_TRUE=''
    INSTALL_CMD=''
    INSTALL_DATA='${INSTALL} -m 644'
    INSTALL_PROGRAM='${INSTALL}'
    INSTALL_SCRIPT='${INSTALL}'
    INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
    LD=''
    LDFLAGS='-Wl,-O1,--sort-common,--as-needed,-z,relro'
    LIBOBJS=''
    LIBS=''
    LIBTOOL=''
    LIB_MAN_DIR=''
    LIB_MAN_SUFFIX=''
    LIPO=''
    LN_S=''
    LTLIBOBJS=''
    MAINT=''
    MAINTAINER_MODE_FALSE='#'
    MAINTAINER_MODE_TRUE=''
    MAKEINFO='${SHELL} /mnt/tmp/yaourt-tmp-tsester/aur-lib32-libxkbcommon/src/libxkbcommon-0.5.0/build-aux/missing makeinfo'
    MANIFEST_TOOL=''
    MAN_SUBSTS=''
    MISC_MAN_DIR=''
    MISC_MAN_SUFFIX=''
    MKDIR_P='/usr/bin/mkdir -p'
    NM=''
    NMEDIT=''
    OBJDUMP=''
    OBJEXT=''
    OTOOL64=''
    OTOOL=''
    PACKAGE='libxkbcommon'
    PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=libxkbcommon'
    PACKAGE_NAME='libxkbcommon'
    PACKAGE_STRING='libxkbcommon 0.5.0'
    PACKAGE_TARNAME='libxkbcommon'
    PACKAGE_URL='http://xkbcommon.org'
    PACKAGE_VERSION='0.5.0'
    PATH_SEPARATOR=':'
    PKG_CONFIG=''
    PKG_CONFIG_LIBDIR=''
    PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
    RANLIB=''
    RT_LIBS=''
    SED=''
    SET_MAKE=''
    SHELL='/bin/sh'
    STRICT_CFLAGS=''
    STRIP=''
    VERSION='0.5.0'
    XCB_XKB_CFLAGS=''
    XCB_XKB_LIBS=''
    XKBCONFIGROOT=''
    XLOCALEDIR=''
    XORG_MALLOC_DEBUG_ENV=''
    XORG_MAN_PAGE=''
    YACC=''
    YACC_INST=''
    YFLAGS=''
    ac_ct_AR=''
    ac_ct_CC='gcc -m32'
    ac_ct_DUMPBIN=''
    am__EXEEXT_FALSE=''
    am__EXEEXT_TRUE=''
    am__fastdepCC_FALSE=''
    am__fastdepCC_TRUE=''
    am__include='include'
    am__isrc=''
    am__leading_dot='.'
    am__nodep='_no'
    am__quote=''
    am__tar='$${TAR-tar} chof - "$$tardir"'
    am__untar='$${TAR-tar} 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} /mnt/tmp/yaourt-tmp-tsester/aur-lib32-libxkbcommon/src/libxkbcommon-0.5.0/build-aux/install-sh'
    libdir='/usr/lib32'
    libexecdir='${exec_prefix}/libexec'
    localedir='${datarootdir}/locale'
    localstatedir='${prefix}/var'
    mandir='${datarootdir}/man'
    mkdir_p='$(MKDIR_P)'
    oldincludedir='/usr/include'
    pdfdir='${docdir}'
    prefix='/usr'
    program_transform_name='s,x,x,'
    psdir='${docdir}'
    sbindir='${exec_prefix}/sbin'
    sharedstatedir='${prefix}/com'
    sysconfdir='${prefix}/etc'
    target_alias=''
    ## confdefs.h. ##
    /* confdefs.h */
    #define PACKAGE_NAME "libxkbcommon"
    #define PACKAGE_TARNAME "libxkbcommon"
    #define PACKAGE_VERSION "0.5.0"
    #define PACKAGE_STRING "libxkbcommon 0.5.0"
    #define PACKAGE_BUGREPORT "[url]https://bugs.freedesktop.org/enter_bug.cgi?product=libxkbcommon[/url]"
    #define PACKAGE_URL "[url]http://xkbcommon.org[/url]"
    #define PACKAGE "libxkbcommon"
    #define VERSION "0.5.0"
    configure: exit 1
    other info:
    core/pacman 4.2.1-1
    multilib/gcc-multilib 4.9.2-4 (multilib-devel) [installed]
        The GNU Compiler Collection - C and C++ frontends for multilib
    multilib/lib32-fakeroot 1.20.2-1 (multilib-devel) [installed]
        Tool for simulating superuser privileges (32-bit)
    multilib/lib32-libltdl 2.4.5-1 (multilib-devel) [installed]
        A generic library support script (32-bit)
    Last edited by tsester (2015-05-10 22:10:28)

    tsester wrote:P.S.: I recently transfered the linux system between failing disks
    In that case you should probably check that no other packages are missing files with
    pacman -Qkk 2>&1 | grep "No such file or directory"
    Any packages that report that they're missing files, you should reinstall.

  • Xmlreader schema validation error: Cannot find the declaration of element

    I have multiple schemas with namespaces but I would like to validate an xml document without namespaces. The schemas all have elementFormDefault="unqualified" in the root element.
    I am encountering error below in my validation using xmlreader:
    ERROR:
    Cannot find the declaration of element 'NewTradenetDeclaration'.
    my code is:
    xmlReader = XMLReaderFactory.createXMLReader("org.apache.xerces.parsers.SAXParser");
    xmlReader.setFeature(VALIDATION_FEATURE_ID, true);
    xmlReader.setFeature(SCHEMA_VALIDATION_FEATURE_ID, true);
    xmlReader.setFeature(SCHEMA_FULL_CHECKING_FEATURE_ID, true);
    xmlReader.setFeature(SCHEMA_NAMESPACE_FEATURE_ID, true);
    xmlReader.setProperty(JAXP_SCHEMA_LANGUAGE, XMLConstants.W3C_XML_SCHEMA_NS_URI);
    String schemaURI = "NewTradenetDeclaration.xsd";
    // ive tried all of the ff but throws the same error
    //xmlReader.setProperty(EXTERNAL_SCHEMA_LOCATION, "urn:crimsonlogic:tn:schema:xsd:NewTradenetDeclaration NewTradenetDeclaration.xsd");
    //xmlReader.setProperty(EXTERNAL_SCHEMA_LOCATION, schemaURI);
    xmlReader.setProperty(JAXP_SCHEMA_SOURCE, schemaURI);
    // set entity resolver to resolve xsd locations
    MyResolver resolver = new MyResolver();
    xmlReader.setEntityResolver(resolver);the entity resolver has:
    public InputSource resolveEntity (String publicId, String systemId) {
      String filename =  "c:/workspace/TXParser/schema/"+ systemId.substring(systemId.lastIndexOf("/")+1);
      File f = new File(filename);
      InputSource source = null;
      try {
        source = new InputSource(new FileReader(f));
      } catch(Exception e) {
      System.out.println("InputSource exception: " + e.getMessage());                 
      return source;
    }Help please. Thanks.

    I fight with the same error, it is curious that the schema from schemaLocation can not be validated. If i set the schema manually through an attribute it works. What i try to do is overwriting the resolveEntity in the handler to get the schema from another location and validate the xml against the schema specified in the attribute schemaLocation rather than setting it manually :-(

  • Configure: error: cannot run C compiled programs.

    Hi,
    I am new to Solaris. I have installed Solaris 10 and compiled packages without any error.
    I have tried to compile Wireshark 1.7.1 and it was exist indicating '/usr/include/sys/feature_tests.h no such file or directory'.
    So I have download feature_tests.h file and uploaded it to the relevant location and run ./configure again.
    Now I am not able to compile any package and it indicate error
    'configure: error: cannot run C compiled programs.
    If you meant to cross compile, use `--host'.
    See `config.log' for more details'
    I have attached portion of the config.log
    configure:3739: checking whether the C compiler works
    configure:3761: gcc conftest.c >&5
    configure:3765: $? = 0
    configure:3813: result: yes
    configure:3816: checking for C compiler default output file name
    configure:3818: result: a.out
    configure:3824: checking for suffix of executables
    configure:3831: gcc -o conftest conftest.c >&5
    configure:3835: $? = 0
    configure:3857: result:
    configure:3879: checking whether we are cross compiling
    configure:3887: gcc -o conftest conftest.c >&5
    In file included from conftest.c:11:
    /usr/include/stdio.h:21:31: sys/feature_tests.h: No such file or directory
    In file included from /usr/include/stdio.h:66,
    from conftest.c:11:
    /usr/include/iso/stdio_iso.h:90: error: syntax error before "fpos_t"
    /usr/include/iso/stdio_iso.h:208: error: syntax error before "fpos_t"
    /usr/include/iso/stdio_iso.h:210: error: syntax error before '*' token
    In file included from /usr/include/stdio.h:135,
    from conftest.c:11:
    /usr/include/iso/stdio_c99.h:54: error: conflicting types for '_RESTRICT_KYWD'
    /usr/include/iso/stdio_c99.h:54: error: previous definition of '_RESTRICT_KYWD' was here
    /usr/include/iso/stdio_c99.h:56: error: redefinition of parameter '_RESTRICT_KYWD'
    /usr/include/iso/stdio_c99.h:56: error: previous definition of '_RESTRICT_KYWD' was here
    /usr/include/iso/stdio_c99.h:68: error: conflicting types for '_RESTRICT_KYWD'
    /usr/include/iso/stdio_c99.h:68: error: previous definition of '_RESTRICT_KYWD' was here
    /usr/include/iso/stdio_c99.h:70: error: conflicting types for '_RESTRICT_KYWD'
    /usr/include/iso/stdio_c99.h:70: error: previous definition of '_RESTRICT_KYWD' was here
    configure:3891: $? = 1
    configure:3898: ./conftest
    ./configure: line 3900: ./conftest: No such file or directory
    configure:3902: $? = 127
    configure:3909: error: in `/wireshark-1.6.7':
    configure:3911: error: cannot run C compiled programs.
    If you meant to cross compile, use `--host'.
    See `config.log' for more details

    934802 wrote:
    Hi,
    I am new to Solaris. I have installed Solaris 10 and compiled packages without any error.
    I have tried to compile Wireshark 1.7.1 and it was exist indicating '/usr/include/sys/feature_tests.h no such file or directory'.
    So I have download feature_tests.h file and uploaded it to the relevant location and run ./configure again.
    Now I am not able to compile any package and it indicate error Where did you get this file?

  • Azure mobile services error cannot find module 'azure-storage'

    this is driving me nuts for past five days now and still no solution. After asking the questing at StackOverflow and azure-storage npm, I thought of now posting the same question here so that it reaches to more targeted 'microsoft azure' experts. 
    in my AzureMobileService, I am using azure-storage npm module in one of my custom API. I have been using this for past couple of months and it was all working great, I was very happy. Until last moday it started throwing the error - 'cannot find module
    'azure-storage'. It was strange, the code that was working till morning , started failing when I came back from work, with no change of a bit in the code. I get this error where I call 'require' for 'azure-module':
    var azure = require('azure-storage');
    var retryOperationFilter = new azure.ExponentialRetryPolicyFilter();
    var tableService= azure.createTableService().withFilter(retryOperationFilter);
    and in package.json, I have
    "dependencies": {"tracer": "0.7.3", "colors" : "1.0.3", "lodash" :"2.4.1", "azure-storage": "0.4.1"},
    Today, I also tried creating a new Mobile service from scratch in my azure account. Then I created the custom API and wrote the code again from scratch. Updated package.json to include azure-storage, updated my client code(HTML/JS) to use this new service
    URL etc. and tested again, everything worked fine till it reached the same line (require('azure-storage') ) and failed again there with
    same error.
    I am at my wits end. please help. 

    ok, got it working.
    I did an npm install 'azure-storage'  to my mobile service's service directory and then it started working. 
    As I remember reading, if I just include the npm module I want to use in my mobile service's package.json, it gets taken care, installed and I don't to install myself manually.
    And thats what has been happening when my code was working till last week. 
    Also, its feels odd because the other node modules I use - like tracer or lodash - work with no manual npm install. 
    anyways, its working for now, but now I am thinking about the azure mobile's reliability

Maybe you are looking for