Unanswered: error in compiling glade file which includes Libpq (Postgresql C iinterface) code
Trying to develop simple gui screen where in i accept some values(fields of a PostgreSQL table) and then
inserting those values into the table .
Im using GTK Glade for developing the gui screen and Libpq library of Postgresql as the database client interface.
In the callback.c file of Glade Im writing the code for a button widget (on button clicked) ,here im trying to do the
1) extract all the values of the text entry widgets into char variables
2) then connecting to the database .
3) then trying to insert the values into the database using the 'insert into table ' command.
Im facing the following problem.
While compiling the project
im getting the following error
"makefile.am required directory ./intl does not exist"
Apart from the above ...........I have some other doubts
can i combine libpq code in a glade (callback.c) file ? if this not the right way then how should i pass on the values of
the widgets into the database table.
How do i compile a glade file with libpq code involved ?
Thanx in advance.....
Following is the content of /root/Projects/cpnr/src/callbacks.c