Hi,
I'm having a problem on FreeBSD8.2 when installing pycrypto-2.4 that was downloaded from github as a .gz. This is a python application with c libraries. My problem is with awk in the build_configuration step. I've tried gawk, but the result is identical. It installs on other systems, but not FreeBSD 8.2. Hope this is the right place and there's not too much detail here.
The build_configuration step runs a configuration file that was created by autoconf and checks for standard c includes before attempting any compiles. In the final step it creates a file named defines.awk then uses it to run awk on the default config.h.in to create the actual config.h. The defines.awk file looks good (all the include files are found), but running awk produces a config.h file that is identical to config.h.in. I ran some tests. The problem is that the pattern used in defines.awk doesn't match any lines in config.h.in.
defines.h (a piece)
config.h.in (a piece)
The part of the pattern that does not match is ([\t (]|$) -- It DOES match if I add a space after HAVE_STDINT_H
Anyone have any ideas?
Gary
I'm having a problem on FreeBSD8.2 when installing pycrypto-2.4 that was downloaded from github as a .gz. This is a python application with c libraries. My problem is with awk in the build_configuration step. I've tried gawk, but the result is identical. It installs on other systems, but not FreeBSD 8.2. Hope this is the right place and there's not too much detail here.
The build_configuration step runs a configuration file that was created by autoconf and checks for standard c includes before attempting any compiles. In the final step it creates a file named defines.awk then uses it to run awk on the default config.h.in to create the actual config.h. The defines.awk file looks good (all the include files are found), but running awk produces a config.h file that is identical to config.h.in. I ran some tests. The problem is that the pattern used in defines.awk doesn't match any lines in config.h.in.
defines.h (a piece)
Code:
/^[\t ]*#[\t ]*(define|undef)[\t ]+[_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ][_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*([\t (]|$)/ {
config.h.in (a piece)
Code:
/* Define to 1 if you have the <stdint.h> header file. */
#undef HAVE_STDINT_H
The part of the pattern that does not match is ([\t (]|$) -- It DOES match if I add a space after HAVE_STDINT_H
Anyone have any ideas?
Gary