Ticket #143 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

Building of fahmon2.3.2b fails on openSUSE 10.3 (x86_64) using wxWidget version 2.8.0

Reported by: RaimundD Assigned to: uncle_fungus
Priority: minor Milestone: 2.3.3
Component: Documentation Keywords:
Cc:

Description

Building of fahmon2.3.2b fails on openSUSE 10.3 (x86_64) using wxWidget version 2.8.0

This is the error message

checking for wx-config... /usr/local/bin/wx-config checking for wxWidgets version >= 2.8.0... no configure: error:

wxWidgets must be installed on your system.

Please check that wx-config is in path, the directory where wxWidgets libraries are installed (returned by 'wx-config --libs' or 'wx-config --static --libs' command) is in LD_LIBRARY_PATH or equivalent variable and wxWidgets version is 2.8.0 or above.

Typing wx-config --libs delivers the following: raimund@neo:~/Test_New_SW/FahMon-2.3.2b> wx-config --libs -L/usr/local/lib -pthread -L/usr/lib64 -lwx_gtk2_aui-2.8 -lwx_gtk2_xrc-2.8 -lwx_gtk2_qa-2.8 -lwx_gtk2_html-2.8 -lwx_gtk2_adv-2.8 -lwx_gtk2_core-2.8 -lwx_base_xml-2.8 -lwx_base_net-2.8 -lwx_base-2.8

I digged into the configure file and found that the option --unicode in the test of the wxWidget lib is the problem. After removing the option I can compile fahmon.

Raimund

Change History

05/29/08 08:01:54 changed by jimbo90210us

I had the same error message when building fahmon 2.3.2b on Mandriva 2008.1 with wxWidget version 2.8.7

Removing the --unicode option worked for me too.

Jimbo

05/29/08 08:53:49 changed by uncle_fungus

It looks like I need to add an explicit mention about unicode in the compilation instructions.

FahMon? will build without modification if you installed the unicode build of wxGTK. This is usually installed with libwxgtku-2.x

Unicode is required in FahMon? so that it can display translations correctly, it will however work in ansi mode for codepages that only use the ansi character set.

05/30/08 05:57:48 changed by jimbo90210us

I installed libwxgtku-2.8.7 on my Mandriva 2008.1 box downloaded fahmon 2.3.2b. ./configure ran with no errors and I now have the 2.3.2b version running fine.

Thank you for the info uncle_fungus.

Definately a good idea to include a mention in the compilation instructions as it would appear that not all distros include unicode support for the default install of wxGTK. Would a more explicit error for the configure file help also?

Once again many thanks.

06/10/08 15:26:15 changed by uncle_fungus

  • status changed from new to assigned.
  • component changed from Other to Documentation.
  • milestone set to 2.3.3.

08/31/08 08:01:55 changed by uncle_fungus

  • status changed from assigned to closed.
  • resolution set to fixed.

Fixed in r300 and wiki instructions updated also.