pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
(ham/wsjtx) +MAKE_ENV+= AM_LDFLAGS=-lusb-1.0 -L${PREFIX}/lib
Module Name: pkgsrc-wip
Committed By: Makoto Fujiwara (mef) <makoto%ki.nu@localhost>
Pushed By: mef
Date: Sun Mar 28 01:07:05 2021 +0900
Changeset: abe4bb60c3dac3cba56184db89d7e10db431daaf
Modified Files:
wsjtx/Makefile
wsjtx/TODO
Log Message:
(ham/wsjtx) +MAKE_ENV+= AM_LDFLAGS=-lusb-1.0 -L${PREFIX}/lib
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=abe4bb60c3dac3cba56184db89d7e10db431daaf
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
wsjtx/Makefile | 1 +
wsjtx/TODO | 86 ++++++++++++++++++++++------------------------------------
2 files changed, 34 insertions(+), 53 deletions(-)
diffs:
diff --git a/wsjtx/Makefile b/wsjtx/Makefile
index 2b38713d81..a20740d16c 100644
--- a/wsjtx/Makefile
+++ b/wsjtx/Makefile
@@ -31,6 +31,7 @@ CMAKE_ARGS+= -DLIBS=-Wl,-rpath-link=-lusb-1.0 -L${PREFIX}/lib
#IBUSB_CFLAGS+= -lusb-1.0 -L${PREFIX}/lib
LDFLAGS+= ${COMPILER_RPATH_FLAG}=-lusb-1.0 -L${PREFIX}/lib
#MAKE_ENV+= LIBUSB_FLAGS='-lusb-1.0 -L${PREFIX}/lib'
+MAKE_ENV+= AM_LDFLAGS='-lusb-1.0 -L${PREFIX}/lib'
# debug only (checking log)
MAKE_JOBS_SAFE= no
diff --git a/wsjtx/TODO b/wsjtx/TODO
index 45a2dc077b..32fda54d58 100644
--- a/wsjtx/TODO
+++ b/wsjtx/TODO
@@ -1,55 +1,35 @@
-(latest problem) with MAKE_JOBS_SAFE= no
-
-
-Making all in tests
-libtool: link: gcc -Wall -g -O2 -fPIC -fdata-sections -ffunction-sections -Wl,--gc-sections -o rigctl rigctl-rigctl.o rigctl-rigctl_parse.o rigctl-dumpcaps.o rigctl-sprintflst.o -ledit ../src/.libs/libhamlib.a -lm ../lib/.libs/libmisc.a -pthread
-ld: ../src/.libs/libhamlib.a(usb_port.o): in function `find_and_open_device':
-/tmp/WRKOBJDIR/wip/wsjt/work/wsjtx-2.3.0/hamlib-prefix/src/hamlib/src/usb_port.c:83: undefined reference to `libusb_get_device_list'
-ld: /tmp/WRKOBJDIR/wip/wsjt/work/wsjtx-2.3.0/hamlib-prefix/src/hamlib/src/usb_port.c:98: undefined reference to `libusb_get_device_descriptor'
-ld: /tmp/WRKOBJDIR/wip/wsjt/work/wsjtx-2.3.0/hamlib-prefix/src/hamlib/src/usb_port.c:110: undefined reference to `libusb_open'
-
-
----- WATCH config.log ---
-
-configure:19279: result: yes
-configure:19289: checking whether to build USB dependent backends
-configure:19301: result: yes
-configure:19310: checking for libusb_init in -lusb-1.0
-configure:19335: gcc -o conftest -g -O2 -fPIC -fdata-sections -ffunction-sections -I/usr/pkg/include -I/usr/include -I/usr/pkg/qt5/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/harfbuzz -I/usr/X11R7/include/freetype2 -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -Wl,--gc-sections conftest.c -lusb-1.0 >&5
-ld: cannot find -lusb-1.0
-configure:19335: $? = 1
-configure: failed program was:
-
-'configure' line where the problem exists
- 19304 LIBUSB=""
- 19305
- 19306
- 19307
- 19308 if test x"${cf_with_libusb}" = "xyes"; then :
- 19309 if test -z $LIBUSB_LIBS; then :
- 19310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libusb_init in -lusb-1.0" >&5
- 19311 $as_echo_n "checking for libusb_init in -lusb-1.0... " >&6; }
- 19312 if ${ac_cv_lib_usb_1_0_libusb_init+:} false; then :
- 19313 $as_echo_n "(cached) " >&6
- 19314 else
- 19315 ac_check_lib_save_LIBS=$LIBS
-
-from configure.ac:
- 318 dnl Check for libusb, treat LIBUSB_LIBS and LIBUSB_CFLAGS as precious variables
- 319 AC_MSG_CHECKING([whether to build USB dependent backends])
- 320 AC_ARG_WITH([libusb],
- 321 [AS_HELP_STRING([--without-libusb],
- 322 [disable USB dependent backends @<:@default=yes@:>@])],
- 323 [cf_with_libusb=no],
- 324 [cf_with_libusb=yes]
- 325 )
- 326
- 327 AC_MSG_RESULT([$cf_with_libusb])
- 328
- 329 LIBUSB=""
- 330 AC_ARG_VAR([LIBUSB_CFLAGS], [C compiler flags for libusb, overriding configure defaults])
- 331 AC_ARG_VAR([LIBUSB_LIBS], [linker flags for libusb, overriding configure check (useful for specifying static libusb-1.0.a (see INSTALL))])
- 332
- 333 AS_IF([test x"${cf_with_libusb}" = "xyes"],
+-- Looking for rig_set_cache_timeout_ms - found
+CMake Error at tests/CMakeLists.txt:1 (find_package):
+ By not providing "FindQt5Test.cmake" in CMAKE_MODULE_PATH this project has
+ asked CMake to find a package configuration file provided by "Qt5Test", but
+ CMake did not find one.
+
+ Could not find a package configuration file provided by "Qt5Test"
+ (requested version 5) with any of the following names:
+
+ Qt5TestConfig.cmake
+ qt5test-config.cmake
+
+ Add the installation prefix of "Qt5Test" to CMAKE_PREFIX_PATH or set
+ "Qt5Test_DIR" to a directory containing one of the above files. If
+ "Qt5Test" provides a separate development package or SDK, be sure it has
+ been installed.
+
+
+-- Configuring incomplete, errors occurred!
+See also "/tmp/WRKOBJDIR/wip/wsjtx/work/wsjtx-2.3.0/wsjtx-prefix/src/wsjtx-build/CMakeFiles/CMakeOutput.log".
+See also "/tmp/WRKOBJDIR/wip/wsjtx/work/wsjtx-2.3.0/wsjtx-prefix/src/wsjtx-build/CMakeFiles/CMakeError.log".
+gmake[2]: *** [CMakeFiles/wsjtx-build.dir/build.make:86: wsjtx-prefix/src/wsjtx-stamp/wsjtx-configure] Error 1
+gmake[1]: *** [CMakeFiles/Makefile2:244: CMakeFiles/wsjtx-build.dir/all] Error 2
+gmake: *** [Makefile:103: all] Error 2
+*** Error code 2
+
+Stop.
+make[1]: stopped in /export/CHROOT/usr/pkgsrc/wip/wsjtx
+*** Error code 1
+
+Stop.
+make: stopped in /export/CHROOT/usr/pkgsrc/wip/wsjtx
+
Home |
Main Index |
Thread Index |
Old Index