MySQL header files location

I am compiling a newer version of php on an G4 box running OS X Server 10.5.8 and I get the following config error:
+checking for specified location of the MySQL UNIX socket... /var/mysql+
+configure: error: Cannot find MySQL header files under /usr/local/mysql.+
+Note that the MySQL client library is not bundled anymore!+
Where are the header files for MySQL on OS X Server? I have searched high & low and can't find them...
Many thanks in advance.
Paul

I believe I have now found the cause and solution to the problem.
http://support.apple.com/kb/TA25017?viewlocale=en_US
This support page explains that the MySQL headers are not included in OS X 10.5 and that you need to follow the instructions to install them. Once I did this the php .configure build ran smoothly.

Similar Messages

  • 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)

  • What package contains /usr/include header files?

    (Sorry for the x-post; put it in the wrong place originally.)
    I'm trying to find out which package contains the header files located in /usr/include/. I'm trying to compile some stuff and these headers aren't found. Any ideas? This is Solaris 10 x86 8/07.

    Alan, thanks for the reply -- I've sorted it out.
    I was looking for the "standard" headers in /usr/include/ such as stdio.h, sys/stat.h, to name a few. Found them in the SUNWhea package.

  • C header files include environment setting

    Hi, Guys
    When I try to compile a directory applicatoin that should use header file located in /usr/ucbinclude/sys/dir.h on solaris 8.
    If I just code in my C code as:
    #include <sys/dir.h>
    The compiler can't find it.
    If I code in my C code in full path name as:
    #include </usr/ucbinclude/sys/dir.h>
    compiler can find it.
    Who can tell me, how I can set export include header file in my profile to support
    #include <sys/dir.h> to work?
    I know I can set LD_LIBRARY_PATH to support share lib, but how I can set include environment?
    Thank you!

    The normal way to handle this is with the -I option on the compile line:
    cc -I/usr/ucbinclude -c myprog.c ...
    Is there a reason you can't use the -I option?

  • [SOLVED] Location of header files (for vmware tools)

    Attempting to install VMWare Tools (http://www.vmware.com/support/ws5/doc/w … linux.html) for my Archlinux guest, encountered this question:
    What is the location of the directory of C header files that match your running
    kernel? [/usr/src/linux/include]
    I found a few old posts saying to use the AUR package, but I can't per my divisions linux server policies (no non-official repositories). Are these included by default, or do I need to get them via some package? Is this kernels-26-headers package, or similar?
    Last edited by Intrepidus (2010-10-25 22:38:07)

    Thanks, that got me a bit farther than before. I've now gone from that error to this error:
    The directory of kernel headers (version @@VMWARE@@ UTS_RELEASE) does not match your running kernel (version 2.6.35-ARCH). Even if the module were to compile successfully, it would not load into the running kernel.
    This was after pointing it to /usr/src/linux-2.6.35-ARCH/include. Any ideas what the story is now?
    EDIT: Had to copy utsrelease.h and autoconf.h to version.h and autoconf.h, respectively, to /usr/src/linux-2.6.35-ARCH/include/linux.
    Last edited by Intrepidus (2010-10-25 22:17:10)

  • Locating the header files(msoftcon.h)

    I cann't locate the header file(msoftcon.h) in program using console graphics  lite.tell me how to locate this.

    See this.

  • Locating the header files such as msoftcon.h inc++ programing using console graphics lite

    in writing code for the program, I don't know how to locating the header file such as msoftcon.h ,so when this program   was built,an error show "cannot open
    include file:msoftcon.h. I  have already   downloaded  msoftcon.h and msoftcon.cpp from samspublishing website.Please help me how to loate the such header files.

    See this.

  • How can I use a dll if I dont have a header file

    I'm not sure if I'm even trying the possible here as I have searched and not been able to find much at all.  However I figured it was worth asking here.
    I have access to several dll's used by a program, I need to open a file using the program (for some reason it is completely non responsive unless you open it "within" the program itself) and so decided to browse the .dll files included.  Ive found a few functions which may carry out the function I need.  Is there a way of figuring out the inputs/outputs if I don't have documentation or a header file?
    This is the next stage in a huge project I am working on at the moment and I've been banging my head against the wall all day trying to figure this out.
    Thanks in advance for any help
    Rik
    That glass?
    Thats glass is neither half full or half empty....
    Its twice the size it needs to be

    Yes, that makes sense. It also means that what you are trying to do is not likely to work. You have no way of knowing what the program does when opening the file, so guessing at using the DLLs is purely a shot in the dark without even knowing where the dark is. Even if you could find the function (assuming it's just one) that loads a file, how is the program supposed to use it now? That function has to be called from within the program. When you call it from LabVIEW you are not sitting inside the program's memory space, so it has no way of knowing about the file.
    I would suggest, instead, to see if the program accepts command-line parameters. For example, does it accept a name of a file to open as part of launching it from the command line? If not, then you may need to resort to trying to control it via automation. If it has no built-in automation then you need to resort to using the OS to make pretend you're clicking buttons and typing text. This has come up many times before, and there have been numerous posts on this, so please do a search on controlling an external program from LabVIEW within this forum. You can call the Windows API functions to move the mouse to a specific location and click the button as well as typing text, or you can use third-part automation tools. One that I have used successfully is AutoIt. The search I indicated will yield other suggestions. 

  • How to view file location in columns

    If I remember correctly, I used to be able to select file location as a column heading an sort.
    This allowed me to quickly find any songs that may not be in normal library location.
    I don't see that column option anymore.
    I have itunes match so not sure if this has an affect or not.
    Anyway to easily review file locations in itunes 11?
    Regards,
    bdog

    FYI, I now remember what I wasn't remembering.
    I ran a apple script to copy the file location to another field that I could display.
    Then I could sort and find music files not stored in the correct master location.
    Sundry Info was the script I used to copy the file path to another field (comments, description or categories)
    I used categories since I wasn't using this field.
    bdog

  • Where do I find the ni488.h header file requiredby MS Visual C/C++?

    MS Visual C/C++ requires the header file ni488.h instaed of the decl-32.h file. I have been unable to locate this on our PC, the NI0488.2 install CD-ROM, or the NI web pages. Can anyone help me?

    Try
    C:\Program Files\National Instruments\NI-488.2\Languages\Microsoft C
    It is placed there by the NI-488.2 Setup program when you install the
    Language Support - Microsoft C/C++ feature.
    If you can't find the files, rerun the setup and verify that the correct
    features are installed. Look at the attached screenshot.
    "Kathleen" wrote in message
    news:[email protected]..
    > MS Visual C/C++ requires the header file ni488.h instaed of the
    > decl-32.h file. I have been unable to locate this on our PC, the
    > NI0488.2 install CD-ROM, or the NI web pages. Can anyone help me?
    [Attachment NI-setup.jpg, see below]
    Attachments:
    NI-setup.jpg ‏51 KB

  • Can't open office files located on a windows server fileshare

    Hi TechNet / Office for Mac Community,
    re: can't open MS Office files located on a windows server file share
    Is anyone else experiencing this issue and/or have a fix?
    Details:
    Clients: Mac OS X 10.6 / 10.7 / 10.8 / 10.9
    File share: Windows Server 2008 R2
    Connecting via SMB or CIFS
    Problem:
    When mounting the Windows Server file share, Mac clients are unable to open MS Office 2011 files (not just powerpoint) from that location.
    Error message: "there was an error accessing /Volumes/data/folder/presentation.pptx"
    There is no issue creating or deleting MS Office files from that location. 
    The Mac 'Preview' application is able to open the same MS Office file without issues.
    The file is not corrupted and can be opened when copied to the desktop.
    Windows clients have no problem opening the file.
    Only this particular file share is having an issue.
    Are there any known issues or requirements for Windows Server file shares and MS Office 2011 that would apply to this problem?
    Your assistance is greatly appreciated.

    WebPhoenix, recommend you post this question here instead:
    http://answers.microsoft.com/en-us/mac
    Thanks,
    Mike
    Unfortunately your post is off topic here, in the TechNet Site Feedback forum, because it is not Feedback about the TechNet Website or Subscription.  This is a standard response I’ve written up in advance to help many people (thousands, really.)
    who post their question in this forum in error, but please don’t ignore it.  The links I share below I’ve collected to help you get right where you need to go with your issue.
    For technical issues with Microsoft products that you would run into as an
    end user of those products, one great source of info and help is
    http://answers.microsoft.com, which has sections for Windows, Hotmail, Office, IE, and other products. Office related forums are also here:
    http://office.microsoft.com/en-us/support/contact-us-FX103894077.aspx
    For Technical issues with Microsoft products that you might have as an
    IT professional (like technical installation issues, or other IT issues), you should head to the TechNet Discussion forums at
    http://social.technet.microsoft.com/forums/en-us, and search for your product name.
    For issues with products you might have as a Developer (like how to talk to APIs, what version of software do what, or other developer issues), you should head to the MSDN discussion forums at
    http://social.msdn.microsoft.com/forums/en-us, and search for your product or issue.
    If you’re asking a question particularly about one of the Microsoft Dynamics products, a great place to start is here:
    http://community.dynamics.com/
    If you really think your issue is related to the subscription or the TechNet Website, and I screwed up, I apologize!  Please repost your question to the discussion forum and include much more detail about your problem, that could include screenshots
    of the issue (do not include subscription information or product keys in your screenshots!), and/or links to the problem you’re seeing. 
    If you really had no idea where to post this question but you still posted it here, you still shouldn’t have because we have a forum just for you!  It’s called the Where is the forum for…? forum and it’s here:
    http://social.msdn.microsoft.com/forums/en-us/whatforum/
    Moving to off topic. 
    Thanks, Mike
    MSDN and TechNet Subscriptions Support

  • Shared library: function is not found and recognized in header file

    Hello,
    I am trying to use Java methods into LV. I am doing so by creating Java Invocation Interface, usind which I can call Java methods into C++ and then create a shared library that can be called into LV.
    When I am importing my shared library into Labview, I am getting the following error messages:
    The shared library contains 3 function(s). But no function is found and recognized in the header file. The following function(s) cannot be wrapped. If you want to import these functions, please review the warning messages next to the functions below. You will need to fix the problems before you can continue with the wizard.
    jclass invokeJavaClass(JNIEnv* jenv, string className);
    The following symbols are not defined:
    jclass;
    Undefined symbols can prevent the wizard from recognizing functions and parameters. To correct this problem, check the header file to determine if you must add preprocessor definitions. Click the Back button to return to the previous page of the wizard to add a preprocessor definitionsl (for example, "NIAPI_stdcall = __stdcall" or "NIAPIDefined = 1").
    The following header file was not found in the specified header file or one of the referenced header files:
    -  string
    -  iostream
    -  cstring
    -  jni.h
    To fix, click the Back button to go to the previous page and add the header file path to the Include Paths list.
     Please advise.
    Regards,
    H
    Attachments:
    SharedLibError.png ‏51 KB

    Hello Vivek,
    The LabVIEW dll that I am trying to import does not include any third-party device..all my code is fully based on LabVIEW. Maybe this helps you to guess what is happening: once I've parsed the dll' header appears an error
    like this one:
    void
    __cdecl Zdmt(LVBoolean *stop, double P, char channelName[],
        TD1
    *errorIn, TD14 *FFTOptions, TD12 *Calibration, char FileName[],
    int32_t minRecordLength, TD26 *InstrumentHandler, LVRefNum
    sessionRefArray[],
        LVRefNum *queueIN, TD1 *errorOut, LVBoolean
    *averagingDone,
        HWAVES LastRecordFetched, TD24 *Impedance, TD17
    *ColeColeCluster,
        TD18 *FFTcluster, TD5
    *InstrumentHandleOutputCluster, LVRefNum *queueOut,
        int32_t
    *Acquired, TD6 *FreqTimeInfoCluster, double *averagesCompleted,
    int32_t len);
    The following symbols are not defined:
    LVBoolean;
    int32_t; LVRefNum;
    Undefined symbols can prevent the wizard
    from recognizing functions and parameters. To correct this problem,
    check the header file to determine if you must add predefined symbols.
    Click the Back button to return to the previous page of the wizard to
    add a preprocessor definitionsl (for example, "NIAPI_stdcall =
    __stdcall" or "NIAPIDefined = 1").
    The following header file was
    not found in the specified header file or one of the referenced header
    files:
    -  extcode.h
    To fix, click the Back button to go to the
    previous page and add the header file path to the Include Paths list.
    I have replaced the first line #include "extcode.h" of
    the dll header file for #include "C:\Program Files\National
    Instruments\LabVIEW 8.6\cintools\extcode.h" that is the full path where
    the header file is located. However, new libraries seems to be missed:
    -  stdint.h
    -  MacTypes.h
    As far as I know,  Mactypes.h contains basic mac os data types and it doesn't have any relation with stdint.h...
    I have created both of them and stored into the same folder as extcode.h, but then other libraries are missed!!!
    Do you know if it would be possible to create the .dll generating all the header files associated for its data structures???
    And if this is not factible, then what do you suggest me? because I hope to not having to create all the header files until it stops giving me an error!
    thanks for four time,
    ben

  • Header file in Java Program

    Hi All,
    Im new to JNI and would like to use C header file in Java. The following program generates "java.lang.UnsatisfiedLinkError: no tmp_authenticate in java.library.path" exception.
    This indicates that JVM is unable to load library tmp_authenticate. Header file name is tmp_authenticate.h and is in the same path of the class file. Why JVM is unable to locate this header file. Pls guide me.
    public class authenticate1 {   
         public static void main() {
              System.out.println("Is user " + authenticate1.authenticateUser("MYDOMAIN", "test", "test"));
    static {
              System.loadLibrary("tmp_authenticate");
    public static boolean authenticateUser(String domainName, String userId, String password) {
         if (domainName == null || userId == null || password == null)
         return false;
         else
         return authenticateNTUser(domainName, userId, password);
    private static native boolean authenticateNTUser(String domainName, String userId, String password);
    Thanks in advance.
    Ketan Malekar
    [email protected]

    System.loadLibrary() under nt will only load dlls
    You are trying to load the header file.
    Have a look at jawin if you need to execute arbitrary dll calls
    http://sourceforge.net/projects/jawinproject
    This book was invaluable for a big JNI project I worked on recently
    http://java.sun.com/products/jdk/faq/jnifaq.html

  • Missing header file 'stdtst.h'

    Hi all ,
     where will i find header file 'stdtst.h'  in CVI  or TestStand ?
    Thanks 
    Mukesh Kumar

    Hello mukesh121,
    According to http://www.ni.com/pdf/manuals/375070c.pdf, the header file is located in <TestStand Public>\AdapterSupport\CVI.
    Best regards,
    = Nelu F. || National Instruments.

  • Jni unable to open header file

    Hi,
    I am new to convert java code to .h file and using in c or c++.
    I got this code from net
    which i implement but i not get success.Please guide me where i am wrong.
    code taken from this url:
    http://www.pacifier.com/~mmead/jni/cs510ajp/example_details.html
    //HelloWorld.java
    class HelloWorld {
      public native void displayMessage();
      static
        System.loadLibrary("HelloWorldImp");
    }after using javac compilation
    javah -jni HelloWorld
    file created
    HelloWorld.h
    //HelloWorldImp.cpp
    #include <stdio.h>
    #include "HelloWorld.h"   // this header file was generated by javah
    JNIEXPORT void JNICALL Java_HelloWorld_displayMessage(JNIEnv *env, jobject obj)
      printf("Hello World!\n");
    }but in turbo c error is coming
    unable to open HelloWorld.h file.
    I don't understand what is wrong.
    I have to set any kind of path or what.
    I kept this header file in same folder but its not working.
    If u know how to call this header file please help me.
    Or i have to use any other compiler please suggest me.
    I am using turbo c compiler.
    Thanks and regards,
    Rakesh Kumar.

    If the include is speicfied with quotes (include "file.h") then it is expected to be in the same directory as the C/CPP file. If hte include is specified as <file.h> then the compiler will look for it in a defined path.Rubbish.
    The compiler will look along the paths defined in the -I argument in both cases. If the file is specified on quotes it will also look in the same path as the.c/.cpp file.
    In this case, the file should be in the same location as the CPP file.
    This is very basic stuff.

Maybe you are looking for

  • Unable to install IOS 4.3 Upgrade to new IPAD2/32G/3G

    Hello, I just purchased a new IPAD2/32G with 3G Verizon support. I attempted to upgrade my new IPAD2 with the new IOS 4.3 upgrade when prompted by ITUNES. I received a message when it the process was done that the upgrade failed. My wireless is worki

  • CS4 Program Monitor Problem after 4.2

    I just recently upgraded Premiere Pro to 4.2 and lo and behold I have some problems. Video in the source monitor looks fine, however the program monitor has almost a ghosting effect on anything with movement. I've updated drivers, re-installed, tried

  • Universal Installation Option Configuration

    Hi I did everything about UIO: installed Apache, installed UIO libraries, configured httpd.conf, configured UIO to run on discovery mode, captured customer information, configured UIO to do not run on discovery mode and made the settings for intercep

  • Resizing a partition

    Say one has 2 partitions. Both 125 GB each. Now, I want to make one 100 GB, and the other 150 GB. I can easily make one smaller. How do I make the other larger. I do not get those "handles" between partitions that the manual implies. I only get a cor

  • Make File Errors - Tuxedo ART

    I have copied the make file provided along with the Tuxedo ART samples onto the demo directory. But when I do a make usage in the samples directory(Fig.1) it works. Where as it doesnt work in the directory, where I have copied.(Fig.2). Kindly help to