i hope these information about hk_classes installation are useful for someone

An update version of hk_classes at this address:

https://sourceforge.net/projects/knoda4/files/hk_classes/

useful for knoda4 and knoda5

Compiling hk_classes on Debian9 64 this error occurred:

hk_class.cpp:600:17: note:   'std::ostream {aka std::basic_ostream<char>}' is not derived from 'const std::pair<_T1, _T2>'
     if (stream==NULL) return;
                 ^
hk_class.cpp: In static member function 'static hk_string hk_class::show_filedialog(const hk_string&, enum_operationmode)': hk_class.cpp:702:38: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
        if (!tmpurl.directory().size()>0 ||tmpurl.filename().size()>0)
                                      ^
hk_class.cpp: In static member function 'static hk_string hk_class::show_directorydialog(const hk_string&)': hk_class.cpp:762:38: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
        if (!tmpurl.directory().size()>0 ||tmpurl.filename().size()>0)
                                      ^
Makefile:468: set di istruzioni per l'obiettivo "libhk_classes_la-hk_class.lo" non riuscito
make[3]: *** [libhk_classes_la-hk_class.lo] Errore 1
make[3]: uscita dalla directory "/home/vlilo/Documenti/hk_classes-0.8.4/hk_classes"
Makefile:837: set di istruzioni per l'obiettivo "all-recursive" non riuscito
make[2]: *** [all-recursive] Errore 1
make[2]: uscita dalla directory "/home/vlilo/Documenti/hk_classes-0.8.4/hk_classes"
Makefile:296: set di istruzioni per l'obiettivo "all-recursive" non riuscito
make[1]: *** [all-recursive] Errore 1
make[1]: uscita dalla directory "/home/vlilo/Documenti/hk_classes-0.8.4"
Makefile:225: set di istruzioni per l'obiettivo "all" non riuscito
make: *** [all] Errore 2

Patrik Hanak (knoda4 e knoda5 developer) help me and i solved so:

"I have got an experience with similar errors. They occured, when C++ compiler followed C++11 standard. Problem is that hk_classes library is NOT C++11 compliant. Solutions would be: 1.  change configuration of C++ compiler to follow older standard, I think C++98 would be OK
2. refactor hk_classes sources to follow C++11 standard.

I guess option 1 is faster for the moment."

"I cannot help you without knowing details of Your installation (operating system, distribution (if Linux based OS), C++ compiler, version of C++ compiler).
At the moment I can provide you with the comfiguration on my side:
I use various Linux based distributions ( OpenSUSE 64-bit, Debian 32-bit) with GNU C++ compiler. Specific argument to configure script:
> ./configure CXXFLAGS='-std=c++03 -O2'
solved the issue."

Thank you very much to Patrik Hanak

############################

configure: error:
  Could not link test program to Python. Maybe the main Python library has been
  installed in some non-standard library path. If so, pass it to configure,
  via the LDFLAGS environment variable,
  or use the --with-python-incdir and --with-python-libdir directices respectively.
============================================================================
   ERROR!
   You probably have to install the development version of the Python package    for your distribution.  The exact name of this package varies among them.
============================================================================

i solved installing  libfontconfig1-dev

i hope these usefuls for someone

best regard callimaco

In italiano:

il link sopra porta a una versione aggiornata delle hk_classes utile per installare le versioni più

recenti di knoda: knoda4 e knoda5

Le versioni aggiornate di g++ non riescono a compilare le hk_classes ecco perché vanno aggiunti

gli argomenti indicati al comando ./configure.

Il secondo suggerimento indica un pacchetto che non sempre le installazioni di base del sistema

includono.

Knoda è un ottimo sistema per la gestione ed amministrazione dei database.

L'unica vera alternativa ad Access in campo Linux.

callimaco




------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Hk-classes-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hk-classes-discuss

Reply via email to