[Lugge] Un aiuto

  • From: Giuliano <BIPIEFFE@xxxxxxxx>
  • To: LUGGE <lugge@xxxxxxxxxxxxx>
  • Date: Mon, 08 Jul 2002 08:15:54 +0200

Sto cercando di installare un'interfaccia grafica per mysql. Avevo già fatto la stessa cosa ai tempi di mdk 7.1, senza problemi.
In oggi la disponibilità di sorgenti in vari formati é aumentata e da sf si può acquisire materiale molto vario.
Io l'ho fatto e non sono riuscito ad andare oltre la scompattazione dei files perché, per un motivo o per l'altro, si verificavano una serie di errori.
Ho raggruppato in un file un po' dei messaggi di errore (talvolta sono compresi dall'applicazione entro un file *.log, le più sono gli standard output sulla console).
Vorrei un aiuto ad interpretare il significato di tali messaggi o, meglio ancora, vorrei riuscire ad aggirare gli ostacoli, posto che mi riesca di capire quali essi siano effettivamente.
La questione é quindi:
1) Che fare?
2) Perché?
3) Qual'é la strada migliore per farlo?


Qui di seguito ci sono i testi dei suddetti messaggi.
Grazie per la pazienza e la cordiale commiserazione di cui, sono certo, qualcuno di voi vorrà farmi omaggio (anche se é periodo di vacanze...)


/kmysql-1.2.1/ # configure

configure:556: checking how to run the C++ preprocessor
configure:574: g++ -E  conftest.C >/dev/null 2>conftest.out
configure:600: checking for X
configure:617: g++ -E  conftest.C >/dev/null 2>conftest.out
configure:613:27: X11/Intrinsic.h: No such file or directory
configure: failed program was:
#line 612 "configure"
#include "confdefs.h"
#include <X11/Intrinsic.h>
configure:693: g++ -o conftest    conftest.C -lXt  1>&5
configure: In function `int main ()':
configure:689: `XtMalloc' undeclared (first use this function)
configure:689: (Each undeclared identifier is reported only once for
each function it appears in.)
configure: failed program was:
#line 686 "configure"
#include "confdefs.h"

int main() {
XtMalloc()
; return 0; }


[root@localhost Mysqlgui]# urpmi kmysql-1.2.1-1.i386.rpm perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = "it_IT:it", LC_ALL = (unset), LC_MESSAGES = "it_IT", LC_TIME = "it_IT", LC_NUMERIC = "it_IT", LC_CTYPE = "it_IT", LC_MONETARY = "it_IT", LC_COLLATE = "it_IT", LANG = "it" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). rpmtools::read_rpms is too old, upgrade rpmtools package everything already installed

[root@localhost mysqlgui-1.7]# make

g++ -O3 -g -pipe -I. -I../mysql++-1.2/sqlplusint -I/usr/local/include/mysql -c about.cc
In file included from about.cc:2:
client.h:7:19: FL/Fl.H: No such file or directory
client.h:8:23: FL/fl_ask.H: No such file or directory
client.h:9:34: FL/Fl_Select_Browser.H: No such file or directory
client.h:10:24: FL/Fl_Menu.H: No such file or directory
client.h:11:31: FL/Fl_Menu_Button.H: No such file or directory
client.h:12:26: FL/Fl_Choice.H: No such file or directory
client.h:13:32: FL/fl_file_chooser.H: No such file or directory
client.h:14:26: FL/Fl_Button.H: No such file or directory
In file included from client.h:15,
from about.cc:2:
FL/Fl_File_Dialog.H:14:19: FL/Fl.H: No such file or directory
FL/Fl_File_Dialog.H:15:33: FL/Fl_Multi_Browser.H: No such file or directory
FL/Fl_File_Dialog.H:16:25: FL/Fl_Input.H: No such file or directory
FL/Fl_File_Dialog.H:17:23: FL/Fl_Box.H: No such file or directory
FL/Fl_File_Dialog.H:18:33: FL/Fl_Return_Button.H: No such file or directory
FL/Fl_File_Dialog.H:19:31: FL/Fl_Menu_Button.H: No such file or directory
FL/Fl_File_Dialog.H:20:26: FL/Fl_Window.H: No such file or directory
FL/Fl_File_Dialog.H:21:26: FL/Fl_Choice.H: No such file or directory
In file included from FL/Fl_File_Dialog.H:23,
from client.h:15,
from about.cc:2:
FL/Fl_Input_File.H:11:19: FL/Fl.H: No such file or directory
FL/Fl_Input_File.H:12:26: FL/Fl_Window.H: No such file or directory
FL/Fl_Input_File.H:13:26: FL/Fl_Button.H: No such file or directory
FL/Fl_Input_File.H:14:26: FL/Fl_Bitmap.H: No such file or directory
FL/Fl_Input_File.H:15:25: FL/Fl_Input.H: No such file or directory
FL/Fl_Input_File.H:16:24: FL/fl_draw.H: No such file or directory
FL/Fl_Input_File.H:17:31: FL/Fl_Menu_Button.H: No such file or directoryIn
file included from about.cc:2:
client.h:16:26: FL/Fl_Output.H: No such file or directory
client.h:17:25: FL/filename.H: No such file or directory
In file included from client.h:24,
from about.cc:2:
FL/Fl_NSlider.H:8:19: FL/Fl.H: No such file or directory
FL/Fl_NSlider.H:9:28: FL/Fl_Valuator.H: No such file or directory
FL/Fl_NSlider.H:10:24: FL/fl_draw.H: No such file or directory
In file included from FL/Fl_File_Dialog.H:23,
from client.h:15,
from about.cc:2:
FL/Fl_Input_File.H:23: parse error before `,'
FL/Fl_Input_File.H: In function `void input_callback_error (void (*)
(Fl_Dir *, void *), void *)':
FL/Fl_Input_File.H:30: `input_callback_error_' undeclared (first use
this function)
FL/Fl_Input_File.H:30: (Each undeclared identifier is reported only
once for each function it appears in.)
FL/Fl_Input_File.H: In function `void input_do_callback_error ()':
FL/Fl_Input_File.H:31: invalid use of `this' in non-member function
FL/Fl_Input_File.H: At top level:
FL/Fl_Input_File.H:49: syntax error before `*'
FL/Fl_Input_File.H:50: parse error before `int'
FL/Fl_Input_File.H:51: destructors must be member functions
FL/Fl_Input_File.H:52: parse error before `}'
FL/Fl_Input_File.H:56: `Fl_Widget' was not declared in this scope
FL/Fl_Input_File.H:56: `o' was not declared in this scope
FL/Fl_Input_File.H:56: parse error before `*'
In file included from client.h:15,
from about.cc:2:
FL/Fl_File_Dialog.H:25: parse error before `{'
FL/Fl_File_Dialog.H:38: syntax error before `*'
FL/Fl_File_Dialog.H:40: `Fl_Callback' was not declared in this scope
FL/Fl_File_Dialog.H:40: `c' was not declared in this scope
FL/Fl_File_Dialog.H:40: parse error before `*'
FL/Fl_File_Dialog.H: In function `void exit_callback (...)':
FL/Fl_File_Dialog.H:40: `exit_callback_' undeclared (first use this
function)
FL/Fl_File_Dialog.H:40: `c' undeclared (first use this function)
FL/Fl_File_Dialog.H:40: `p' undeclared (first use this function)
FL/Fl_File_Dialog.H: At top level:
FL/Fl_File_Dialog.H:41: `Fl_Widget' was not declared in this scope
FL/Fl_File_Dialog.H:41: `o' was not declared in this scope
FL/Fl_File_Dialog.H:41: variable or field `exit_do_callback' declared
void
FL/Fl_File_Dialog.H:41: syntax error before `{'
FL/Fl_File_Dialog.H:43: syntax error before `;'
FL/Fl_File_Dialog.H:44: syntax error before `;'
FL/Fl_File_Dialog.H:45: syntax error before `;'
FL/Fl_File_Dialog.H:46: syntax error before `;'
FL/Fl_File_Dialog.H:47: syntax error before `;'
FL/Fl_File_Dialog.H:48: syntax error before `;'
FL/Fl_File_Dialog.H:52: parse error before `int'
FL/Fl_File_Dialog.H:55: `Fl_Browser' was not declared in this scope
FL/Fl_File_Dialog.H:55: `b' was not declared in this scope
FL/Fl_File_Dialog.H:55: `i' was not declared in this scope
FL/Fl_File_Dialog.H:55: variable or field `loadBrowser' declared void
FL/Fl_File_Dialog.H:55: initializer list being treated as compound
expression
FL/Fl_File_Dialog.H:57: `Fl_Widget' was not declared in this scope
FL/Fl_File_Dialog.H:57: `o' was not declared in this scope
FL/Fl_File_Dialog.H:57: parse error before `*'
FL/Fl_File_Dialog.H:58: `Fl_Widget' was not declared in this scope
FL/Fl_File_Dialog.H:58: `o' was not declared in this scope
FL/Fl_File_Dialog.H:58: parse error before `*'
FL/Fl_File_Dialog.H:59: `Fl_Widget' was not declared in this scope
FL/Fl_File_Dialog.H:59: `o' was not declared in this scope
FL/Fl_File_Dialog.H:59: parse error before `*'
FL/Fl_File_Dialog.H:60: `Fl_Widget' was not declared in this scope
FL/Fl_File_Dialog.H:60: `o' was not declared in this scope
FL/Fl_File_Dialog.H:60: parse error before `*'
FL/Fl_File_Dialog.H:61: `Fl_Widget' was not declared in this scope
FL/Fl_File_Dialog.H:61: `o' was not declared in this scope
FL/Fl_File_Dialog.H:61: parse error before `*'
FL/Fl_File_Dialog.H:62: `Fl_Widget' was not declared in this scope
FL/Fl_File_Dialog.H:62: `o' was not declared in this scope
FL/Fl_File_Dialog.H:62: parse error before `*'
In file included from client.h:24,
from about.cc:2:
FL/Fl_NSlider.H:24: parse error before `{'
FL/Fl_NSlider.H:27: syntax error before `;'
FL/Fl_NSlider.H:30: syntax error before `;'
FL/Fl_NSlider.H:33: syntax error before `,'
FL/Fl_NSlider.H:34: syntax error before `,'
FL/Fl_NSlider.H:39: syntax error before `;'
FL/Fl_NSlider.H:48: parse error before `int'
FL/Fl_NSlider.H:49: parse error before `,'
FL/Fl_NSlider.H:54: syntax error before `('
FL/Fl_NSlider.H:55: parse error before `)'
FL/Fl_NSlider.H: In function `void slider (...)':
FL/Fl_NSlider.H:55: `slider_' undeclared (first use this function)
FL/Fl_NSlider.H: At top level:
FL/Fl_NSlider.H:58: non-member function `slider_size ()' cannot have
`const' method qualifier
FL/Fl_NSlider.H: In function `float slider_size ()':
FL/Fl_NSlider.H:58: `slider_size_' undeclared (first use this function)
FL/Fl_NSlider.H: At top level:
FL/Fl_NSlider.H:60: `Fl_Align' was not declared in this scope
FL/Fl_NSlider.H:60: parse error before `)'
FL/Fl_NSlider.H: In function `void alignTick (...)':
FL/Fl_NSlider.H:60: `_alignTick' undeclared (first use this function)
FL/Fl_NSlider.H:60: `a' undeclared (first use this function)
FL/Fl_NSlider.H: At top level:
FL/Fl_NSlider.H:61: syntax error before `('
FL/Fl_NSlider.H:62: parse error before `)'
FL/Fl_NSlider.H: In function `void colorTick (...)':
FL/Fl_NSlider.H:62: `_tick_col' undeclared (first use this function)
FL/Fl_NSlider.H: At top level:
FL/Fl_NSlider.H:71: `uchar' was not declared in this scope
FL/Fl_NSlider.H:71: parse error before `,'
FL/Fl_NSlider.H: In function `void ramp (...)':
FL/Fl_NSlider.H:71: `_r1' undeclared (first use this function)
FL/Fl_NSlider.H:71: `nr1' undeclared (first use this function)
FL/Fl_NSlider.H:71: `_r2' undeclared (first use this function)
FL/Fl_NSlider.H:71: `nr2' undeclared (first use this function)
FL/Fl_NSlider.H:71: `_g1' undeclared (first use this function)
FL/Fl_NSlider.H:71: `ng1' undeclared (first use this function)
FL/Fl_NSlider.H:71: `_g2' undeclared (first use this function)
FL/Fl_NSlider.H:71: `ng2' undeclared (first use this function)
FL/Fl_NSlider.H:71: `_b1' undeclared (first use this function)
FL/Fl_NSlider.H:71: `nb1' undeclared (first use this function)
FL/Fl_NSlider.H:71: `_b2' undeclared (first use this function)
FL/Fl_NSlider.H:71: `nb2' undeclared (first use this function)
FL/Fl_NSlider.H: In function `void ramp (int, int)':
FL/Fl_NSlider.H:72: `Fl' undeclared (first use this function)
FL/Fl_NSlider.H:72: parse error before `::'
FL/Fl_NSlider.H: At top level:
FL/Fl_NSlider.H:76: parse error before `}'
In file included from about.cc:3:
about.h:2:19: FL/Fl.H: No such file or directory
about.h:3:23: FL/Fl_Box.H: No such file or directory
about.h:4:33: FL/Fl_Double_Window.H: No such file or directory
about.h:5:33: FL/Fl_Return_Button.H: No such file or directory
about.h:6:24: FL/fl_draw.H: No such file or directory
about.h:7:24: FL/Fl_Menu.H: No such file or directory
about.h:10:26: FL/Fl_Pixmap.H: No such file or directory
In file included from about.cc:2:
client.h:65: `Fl_Widget' was not declared in this scope
client.h:65: `w' was not declared in this scope
client.h:65: parse error before `*'
client.h:66: `Fl_Button' was not declared in this scope
client.h:66: `w' was not declared in this scope
client.h:66: parse error before `*'
client.h:70: `Fl_Button' was not declared in this scope
client.h:70: `w' was not declared in this scope
client.h:70: parse error before `*'
client.h:71: `Fl_Browser' was not declared in this scope
client.h:71: `w' was not declared in this scope
client.h:71: parse error before `*'
client.h:72: `Fl_Widget' was not declared in this scope
client.h:72: `w' was not declared in this scope
client.h:72: parse error before `*'
client.h:73: `Fl_Widget' was not declared in this scope
client.h:73: `w' was not declared in this scope
client.h:73: parse error before `*'
client.h:76: syntax error before `*'
client.h:80: `Fl_Button' was not declared in this scope
client.h:80: parse error before `,'
In file included from about.cc:3:
about.h:8: `Fl_Menu_' was not declared in this scope
about.h:8: parse error before `,'
about.cc:13: syntax error before `*'
about.cc:14: syntax error before `*'
about.cc:15: syntax error before `*'
about.cc:16: syntax error before `('
about.cc:29: parse error before `{'
about.cc:33: parse error before `public'
about.cc:35: parse error before `,'
about.cc:37: ISO C++ forbids declaration of `font' with no type
about.cc:37: ISO C++ forbids declaration of `size' with no type
about.cc:37: ISO C++ forbids declaration of `offset' with no type
about.cc:38: ISO C++ forbids declaration of `sprintf' with no type
about.cc:38: `int sprintf' redeclared as different kind of symbol
/usr/include/stdio.h:281: previous declaration of `int sprintf (char *, const
char *, ...)'
about.cc:38: initializer list being treated as compound expression
about.cc:38: cannot convert `const char *' to `int' in initialization
about.cc:39: parse error before `}'
about.cc:40: destructors must be member functions
about.cc:41: parse error before `}'
about.cc:41: ISO C++ forbids declaration of `textdisplay' with no type
about.cc:46: invalid use of undefined type `class FontDisplay'
about.cc:29: forward declaration of `class FontDisplay'
about.cc: In method `void FontDisplay::draw ()':
about.cc:47: `draw_box' undeclared (first use this function)
about.cc:48: `fl_color' undeclared (first use this function)
about.cc:49: `x' undeclared (first use this function)
about.cc:49: `y' undeclared (first use this function)
about.cc:49: `w' undeclared (first use this function)
about.cc:49: `h' undeclared (first use this function)
about.cc:49: `fl_rectf' undeclared (first use this function)
about.cc:51: `fl_clip' undeclared (first use this function)
about.cc:52: `Fl_Font' undeclared (first use this function)
about.cc:52: parse error before `,'
about.cc:53: `align' undeclared (first use this function)
about.cc:53: `fl_draw' undeclared (first use this function)
about.cc:54: `fl_pop_clip' undeclared (first use this function)
about.cc: At top level:
about.cc:57: invalid use of undefined type `class FontDisplay'
about.cc:29: forward declaration of `class FontDisplay'
about.cc: In method `void FontDisplay::my_timeout_callback (void *)':
about.cc:58: parse error before `)'
about.cc:70: parse error before `::'
about.cc: At top level:
about.cc:72: invalid use of undefined type `class FontDisplay'
about.cc:29: forward declaration of `class FontDisplay'
about.cc: In method `int FontDisplay::handle (int)':
about.cc:74: `FL_SHOW' undeclared (first use this function)
about.cc:75: `FL_HIDE' undeclared (first use this function)
about.cc:75: parse error before `::'
about.cc:78: `Fl_Widget' undeclared (first use this function)
about.cc:78: parse error before `::'
about.cc:74: warning: unreachable code at beginning of switch statement
about.cc: At top level:
about.cc:81: invalid use of undefined type `class FontDisplay'
about.cc:29: forward declaration of `class FontDisplay'
about.cc: In method `FontDisplay::~FontDisplay ()':
about.cc:81: parse error before `::'
about.cc:81: `sizeof' applied to incomplete type `FontDisplay'
about.cc: At top level:
about.cc:83: parse error before `,'
about.cc: In function `void cb_win (...)':
about.cc:83: `xxx' undeclared (first use this function)
about.cc: At top level:
about.cc:85: `Fl_Return_Button' was not declared in this scope
about.cc:85: parse error before `,'
about.cc: In function `void do_splash ()':
about.cc:88: `Fl_Window' undeclared (first use this function)
about.cc:88: `o' undeclared (first use this function)
about.cc:88: `splash' undeclared (first use this function)
about.cc:88: parse error before `('
about.cc:89: `Fl_Box' undeclared (first use this function)
about.cc:89: parse error before `('
about.cc:90: `pixmap_logo1' undeclared (first use this function)
about.cc: At top level:
about.cc:96: `Fl_Menu_' was not declared in this scope
about.cc:96: parse error before `,'
about.cc: In function `void do_about (...)':
about.cc:97: parse error before `::'
about.cc:98: `Fl_Double_Window' undeclared (first use this function)
about.cc:98: parse error before `('
about.cc:98: `FL_ROUNDED_BOX' undeclared (first use this function)
about.cc:99: `Fl_Callback' undeclared (first use this function)
about.cc:99: parse error before `)'
about.cc:100: parse error before `('
about.cc:101: `FL_EMBOSSED_BOX' undeclared (first use this function)
about.cc:104: parse error before `('
about.cc:105: `FL_ALIGN_TOP' undeclared (first use this function)
about.cc:105: `FL_ALIGN_LEFT' undeclared (first use this function)
about.cc:105: `FL_ALIGN_INSIDE' undeclared (first use this function)
about.cc:105: `FL_ALIGN_CLIP' undeclared (first use this function)
about.cc:106: request for member `color' in `*textdisplay', which is of
non-aggregate type `int'
about.cc:106: request for member `labelcolor' in `*textdisplay', which
is of non-aggregate type `int'
about.cc:108: `Fl_Return_Button' undeclared (first use this function)
about.cc:108: `OK' undeclared (first use this function)
about.cc:108: parse error before `('
about.cc:109: `FL_EMBOSSED_LABEL' undeclared (first use this function)
about.cc:110: parse error before `)'
about.cc:114: parse error before `::'
about.cc:115: confused by earlier errors, bailing out
make: *** [about.o] Error 1


[fine dei messaggi]

Grazie a tutti.
Spero di avere un mucchio di roba da leggere nei prossimi giorni. (L'ho fatto apposta...)


Seguo anche il discorso cena. Non vedo l'ora di mettere i piedi sotto la tavola (in vostra compagnia...)

Ciao ed a presto!
Giuliano




_________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com

<========----------
Prima di scrivere in m-list per favore leggi il regolamento
http://www.lugge.net/soci/manifesto.htm#list

Archivio delle e-mail postate in lista
http://www.freelists.org/archives/lugge/

----------========>
Incontri in sede: martedì 15:00-18:00 e sabato 9:30-12.30


Other related posts: