ok, so i patched up from p2 to p3 using the correct patch file (when i originally went from p1 to p2 i used the raevnos re-released one), then i went from p3 to p4, now i get the following problem when trying to compile p4:
gcc -std=gnu99 -ggdb -O -W -Wall -pedantic -Wno-comment -I/usr/include/ -I.. -I../hdrs -c -o sql.o sql.c
sql.c:39:19: error: mysql.h: No such file or directory
sql.c:40:20: error: errmsg.h: No such file or directory
sql.c:41: error: expected â=â, â,â, â;â, âasmâ or âattributeâ before â*â token
sql.c:84: error: expected â=â, â,â, â;â, âasmâ or âattributeâ before â*â token
sql.c:85: error: expected â)â before â*â token
sql.c: In function âsql_errorâ:
sql.c:184: warning: implicit declaration of function âmysql_errorâ
sql.c:184: error: âmysql_connpâ undeclared (first use in this function)
sql.c:184: error: (Each undeclared identifier is reported only once
sql.c:184: error: for each function it appears in.)
sql.c:184: warning: return makes pointer from integer without a cast
sql.c: In function âfree_sql_queryâ:
sql.c:231: warning: implicit declaration of function âpenn_mysql_free_sql_queryâ
sql.c:231: error: âMYSQL_RESâ undeclared (first use in this function)
sql.c:231: error: expected expression before â)â token
sql.c: In function âsql_queryâ:
sql.c:256: warning: implicit declaration of function âpenn_mysql_sql_queryâ
sql.c:256: warning: return makes pointer from integer without a cast
sql.c: In function âfun_sql_escapeâ:
sql.c:299: warning: implicit declaration of function âmysql_real_escape_stringâ
sql.c:299: error: âmysql_connpâ undeclared (first use in this function)
sql.c:312: warning: implicit declaration of function âmysql_escape_stringâ
sql.c: In function âcmd_sqlâ:
sql.c:329: error: âMYSQL_FIELDâ undeclared (first use in this function)
sql.c:329: error: âfieldsâ undeclared (first use in this function)
sql.c:360: warning: implicit declaration of function âmysql_affected_rowsâ
sql.c:360: error: âmysql_connpâ undeclared (first use in this function)
sql.c:361: warning: implicit declaration of function âmysql_num_fieldsâ
sql.c:364: warning: implicit declaration of function âmysql_fetch_fieldsâ
sql.c:385: error: âMYSQL_ROWâ undeclared (first use in this function)
sql.c:385: error: expected â;â before ârow_pâ
sql.c:387: error: ârow_pâ undeclared (first use in this function)
sql.c:387: warning: implicit declaration of function âmysql_fetch_rowâ
sql.c: In function âfun_mapsqlâ:
sql.c:479: error: âMYSQL_FIELDâ undeclared (first use in this function)
sql.c:479: error: âfieldsâ undeclared (first use in this function)
sql.c:570: error: âMYSQL_ROWâ undeclared (first use in this function)
sql.c:570: error: expected â;â before ârow_pâ
sql.c:572: error: ârow_pâ undeclared (first use in this function)
sql.c: In function âfun_sqlâ:
sql.c:708: error: âMYSQL_ROWâ undeclared (first use in this function)
sql.c:708: error: expected â;â before ârow_pâ
sql.c:710: error: ârow_pâ undeclared (first use in this function)
sql.c: In function âpenn_mysql_sql_shutdownâ:
sql.c:786: error: âmysql_connpâ undeclared (first use in this function)
sql.c:788: warning: implicit declaration of function âmysql_closeâ
sql.c: In function âpenn_mysql_sql_connectedâ:
sql.c:795: error: âmysql_connpâ undeclared (first use in this function)
sql.c: In function âpenn_mysql_sql_initâ:
sql.c:829: error: âmysql_connpâ undeclared (first use in this function)
sql.c:833: warning: implicit declaration of function âmysql_initâ
sql.c:836: warning: implicit declaration of function âmysql_real_connectâ
sql.c:838: warning: format â%sâ expects type âchar *â, but argument 3 has type âintâ
sql.c: At top level:
sql.c:848: error: expected â=â, â,â, â;â, âasmâ or âattributeâ before â*â token
sql.c:902: error: expected â)â before â*â token
make[1]: *** [sql.o] Error 1
make[1]: Leaving directory `/home/ray73864/dev/src'
make: *** [all] Error 2
for some reason it can't find the MySQL stuff yet that stuff has not moved, also, the Makefile.in and Makefile both have the following:
# - System configuration - #
VERSION=1.8.3
PATCHLEVEL=3
yet i am running 1.8.3p4 (or at least trying to).