|
From: Mikhail K. <mko...@gm...> - 2012-12-26 18:13:59
|
Hi
i am trying add wxt terminal support for gnuplot 4.6 in Slackware 14, as
gnuplot 4.6.0 package included does not support wxt and wxWidgets libs
are not included either.
I compiled wxPython-2.8.12.1. Now i can successfully compile and run
gnuplot 4.4.4 with wxt terminal.
but for gnuplot 4.6 (i tried both 4.6.0 and 4.6.1) compilation of wxt
teminal is not enabled. probably a relevant part from "config.log" file
goes below, and there are many errors like this
configure:YYYYY: -c++ -c -g -O2 -I/usr/include conftest.cpp >&5
./configure: line XXXXX: -c++: command not found
Am i doing anything wrong? GCC is 4.7.1.
thank you
Mikhail
configure:12063: -c++ -c -g -O2 -I/usr/include conftest.cpp >&5
./configure: line 2167: -c++: command not found
configure:12063: $? = 127
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "gnuplot"
| #define PACKAGE_TARNAME "gnuplot"
| #define PACKAGE_VERSION "4.6.1"
| #define PACKAGE_STRING "gnuplot 4.6.1"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "gnuplot"
| #define VERSION "4.6.1"
| #define PROTOTYPES 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define HAVE_STRINGIZE 1
| #define X11 1
| #define HAVE_LIBM 1
| #define STDC_HEADERS 1
| #define HAVE_DIRENT_H 1
| #define HAVE_ERRNO_H 1
| #define HAVE_FLOAT_H 1
| #define HAVE_LANGINFO_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_MATH_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_TIME_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TIMEB_H 1
| #define HAVE_SYS_UTSNAME_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_POLL_H 1
| #define HAVE_SGTTY_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_VALUES_H 1
| #define HAVE_DIRENT_H 1
| #define HAVE__BOOL 1
| #define HAVE_STDBOOL_H 1
| #define HAVE_STRUCT_EXCEPTION_IN_MATH_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_TIME_T_IN_TIME_H 1
| #define RETSIGTYPE void
| #define HAVE_ATEXIT 1
| #define HAVE_MEMCPY 1
| #define HAVE_MEMMOVE 1
| #define HAVE_MEMSET 1
| #define HAVE_ON_EXIT 1
| #define HAVE_BCOPY 1
| #define HAVE_BZERO 1
| #define HAVE_SETVBUF 1
| #define HAVE_STRERROR 1
| #define HAVE_STRCHR 1
| #define HAVE_STRRCHR 1
| #define HAVE_STRSTR 1
| #define HAVE_INDEX 1
| #define HAVE_RINDEX 1
| #define HAVE_ERF 1
| #define HAVE_ERFC 1
| #define HAVE_GAMMA 1
| #define HAVE_LGAMMA 1
| #define HAVE_GETCWD 1
| #define HAVE_POLL 1
| #define HAVE_PCLOSE 1
| #define HAVE_POPEN 1
| #define HAVE_SELECT 1
| #define HAVE_SLEEP 1
| #define HAVE_STPCPY 1
| #define HAVE_STRCSPN 1
| #define HAVE_STRDUP 1
| #define HAVE_STRNDUP 1
| #define HAVE_STRNLEN 1
| #define HAVE_STRCASECMP 1
| #define HAVE_STRNCASECMP 1
| #define HAVE_SYSINFO 1
| #define HAVE_TCGETATTR 1
| #define HAVE_VFPRINTF 1
| #define HAVE_USLEEP 1
| #define HAVE_SNPRINTF 1
| #define HAVE_DECL_SIGNGAM 1
| #define HAVE_SIGSETJMP 1
| #define PIPES 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define SELECT_TYPE_ARG1 int
| #define SELECT_TYPE_ARG234 (fd_set *)
| #define SELECT_TYPE_ARG5 (struct timeval *)
| #define HAVE_WCWIDTH 1
| #define HAVE_WCHAR_H 1
| #define READLINE 1
| #define GNUPLOT_HISTORY 1
| #define HAVE_LIBZ 1
| #define HAVE_LIBGD 1
| #define HAVE_GD_H 1
| #define HAVE_GD_GIF 1
| #define GIF_ANIMATION 1
| #define HAVE_GD_JPEG 1
| #define HAVE_GD_TTF 1
| #define HAVE_GD_PNG 1
| #define HAVE_ICONV 1
| #define USE_MOUSE 1
| #define PIPE_IPC 1
| #define USE_X11_MULTIBYTE 1
| #define EXTERNAL_X11_WINDOW 1
| #define VOLATILE_REFRESH 1
| #define EAM_OBJECTS 1
| #define GP_MACROS 1
| #define HIDDEN3D_QUADTREE 1
| #define HIDDEN3D_VAR_PTSIZE 1
| /* end confdefs.h. */
| #include <iostream>
| int
| main ()
| {
| const char hw[] = "Hello, World\n"; std::cout << hw;
| ;
| return 0;
| }
configure:12223: WARNING: No C++ compiler found. The wxWidgets terminal
will not be compiled.
configure:12240: checking for wx-config
configure:12258: found /usr/bin/wx-config
configure:12271: result: /usr/bin/wx-config
|