missing my_config.h

Help
pillesoft
2006-08-28
2012-09-19
  • pillesoft

    pillesoft - 2006-08-28

    Dear All,

    we've downloaded tag 1.2.2b1 from svn and tried to compile it.
    we've missed my_config.h file.
    what is it? from where we can get?

    thank you
    Ivan

     
    • Andy Dustman

      Andy Dustman - 2006-08-28

      Sounds like you don't have the MySQL development headers. Re-read README.

       
      • pillesoft

        pillesoft - 2006-08-28

        Hi,

        errrr, it's a win32 thing

        Downloaded mysql-4.1.21-win32.zip, which is an installer, installed everything, including "developer components" / "C include files / lib files".

        Other .h files got installed (28,111 mysql.h, 39,304 my_global.h, ...). Where should the my_config.h be? I thought in the same include dir as the others...

         
        • Andy Dustman

          Andy Dustman - 2006-08-28

          On my system, it's in the same directory as mysql.h.

           
          • pillesoft

            pillesoft - 2006-08-28

            well, i don't have this file.
            these are the files i have.
            what is the contents of this h file?

            07/19/2006 08:46p 3,708 config-netware.h
            07/19/2006 08:46p 22,387 config-os2.h
            07/19/2006 08:46p 12,735 config-win.h
            07/19/2006 08:46p 3,428 errmsg.h
            07/19/2006 08:46p 2,808 libmysql.def
            07/19/2006 08:46p 2,770 libmysqld.def
            07/19/2006 08:46p 28,111 mysql.h
            07/19/2006 08:46p 11,372 mysqld_error.h
            07/19/2006 08:46p 15,028 mysql_com.h
            07/19/2006 08:46p 1,241 mysql_embed.h
            07/19/2006 08:46p 2,184 mysql_time.h
            07/19/2006 08:46p 813 mysql_version.h
            07/19/2006 08:46p 1,859 my_alloc.h
            07/19/2006 08:46p 3,463 my_dbug.h
            07/19/2006 08:46p 3,000 my_getopt.h
            07/19/2006 08:46p 39,304 my_global.h
            07/19/2006 08:46p 1,515 my_list.h
            07/19/2006 08:46p 24,744 my_pthread.h
            07/19/2006 08:46p 32,346 my_sys.h
            07/19/2006 08:46p 18,758 m_ctype.h
            07/19/2006 08:46p 7,857 m_string.h
            07/19/2006 08:46p 5,841 raid.h
            07/19/2006 08:46p 1,265 typelib.h

             
            • Andy Dustman

              Andy Dustman - 2006-08-28

              It's all C preprocessor #defines generated by the configure script. Many of them start with HAVE_. It may be that config_win.h is what you need. Modify _mysql.c to use that instead of my_config.h. If that fixes it, add a bug with the details so I'll remember to fix it.

               
  • David Jackson

    David Jackson - 2010-12-30

    when you install mySQL using windows, there is an option for header files.
    maybe that will help?

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks