I found a package on github (https://github.com/okbob/ncurses-st-menu) and am having trouble compile it for BSD platforms like NetBSD or OpenBSD. The instructions say to do ./autogen.sh, ./configure, and then make. So I install the autoconf, autotools, libtool, gettext, and any other necessary packages and run ./autogen.sh. It works without spitting out any errors. But ./configure says it doesn't support "OS x86_64-unknown-netbsd9.0" if for example on NetBSD. Can someone else try to compile this program? Because if this was done by autotools, it certainly should support any of the four major BSD operating systems.
Trouble compiling ncurses-st-menu for BSD
265 Views Asked by notevention At
2
There are 2 best solutions below
0
Steve Wills
On
I created a port for FreeBSD here, maybe it will help you get it running on NetBSD. The most important part is the removal of the AC_MSG_ERROR(["OS $host_os is not supported"]) line from tools/ax_pdcurses.m4, then touching config.make, calling autogen.sh to re-generate the configure script. It's also important to set CFLAGS properly and have the appropriate dependencies installed. Also, I used gmake rather than patch the Makefile since I didn't feel motivated to fix it completely.
Related Questions in FREEBSD
- Is it safe to assume 8-bit char on Linux and FreeBSD, based on POSIX?
- How can I switch from clang11 to clang14 on freebsd?
- How do I make HTTPS server pool processes work with secure SSL connections?
- FreeBSD 14.0, Ruby on Rails deployment issues (gem sqlite3 not installing)
- Compiling go for FreeBSD 13.2 arm
- Need help in understanding the Capsicum capability mode and its effect on getpass()
- configure: error: C compiler cannot create executables ERROR on FreeBSD 14.0-RELEASE
- Simplifying file comparison in a shell script
- Are There Always-Used and Kernel-Specific System Call For BSDs and Linux?
- Cross-compiling on freebsd13.1 with freebsd11.4
- Built-in/portable method of appending string to file via bash without redirection
- Makefile .for and .if expansion
- Not able to connect to remote FreeBSD server from VScode in mac
- Slow query with 3 seconds of execution
- Better performance with sudo "git clone" FreeBSD
Related Questions in BSD
- Question to multicast concept with BSD Socket APIs
- How to handle debug and release compiler flags in BSD make
- Are There Always-Used and Kernel-Specific System Call For BSDs and Linux?
- GNU sed to BSD sed for bash goto function
- Is It bad for performance if a bunch of threads are in a blocking state?
- How to test for BSD on GitHub actions?
- If I have a file descriptor with an integer value above 1024, can select() still work on it?
- How can I enable Uniflex BSD sockets to be BROADCAST?
- Django project ModuleNotFoundError: No module named '_sqlite3'
- STDIN dup2 for OpenBSD/NetBSD
- How to get a user name of the interactive login session that a process is running in?
- pthread_mutex_lock and an abandoned shared mutex
- statfs on macOS doesn't give me full disk capacity. Why?
- What is the required lifetime of struct kevent passed into kevent changelist?
- How to modify bits in EC of a laptop on BSD?
Related Questions in OPENBSD
- cgit is not serving to the right path
- Are There Always-Used and Kernel-Specific System Call For BSDs and Linux?
- lein deps fails with cljfx
- Setup YubiKey login on OpenBSD
- Is It bad for performance if a bunch of threads are in a blocking state?
- Application freezes when 2xclick on the binary but ok if run from a terminal
- How to write a working rc.d script for OpenBSD to launch a ruby program that lives in /sbin/?
- How to enable my python module on Unbound?
- lazy binding failed: undefined symbol 'XRRGetScreenInfo' - compiling sfml program on openbsd
- New email server (OpenBSD) not receiving emails sent from Gmail - but is receiving from other sources
- Potential race condition within Python I/O Multiplexer
- Unable to access Wordpress API and Plugins API on OpenBSD 7.3
- How to modify bits in EC of a laptop on BSD?
- Linker not finding symbols which should be present
- How can I use c11 headers in openbsd?
Related Questions in NETBSD
- Application freezes when 2xclick on the binary but ok if run from a terminal
- SSH to NetBSD 8.2 guest with X11 gives "X11 forwarding request failed on channel 0"
- Solaris 8's gcc isn't searching for header files on NetBSD
- Cannot locate /usr/share/examples/svr4 on NetBSD 9.2 32-bit
- OpenBSD fails to execute a.out
- How to substitute libedit readline with GNU readline on Mac OS
- ImportError: No module named libvirt error whyle trying to install python for libvirt on NetBSD 9.2
- GNU as ld flags for assembly on NetBSD for arm
- Trouble compiling ncurses-st-menu for BSD
- screen fails on NetBSD, reporting "poll: Invalid argument"
- How do I set root password for mysql 5.7 on netbsd
- How can I make a NetBSD VM halt itself in google compute engine
- Disabling/Enabling interrupts on x86 architectures
- configuration of tty on BSD system
- How do you conditionally compile based on a target triple?
Related Questions in DRAGONFLY-BSD
- Dragonfly BSD 6.2 on Vultr: No Disk Space
- Trouble compiling ncurses-st-menu for BSD
- DragonflyBSD: possible race-condition in lock manager (kern_lock.c) code?
- Creating a custom Linux/bsd bootloader in assembly
- Configure mouse in Dragonfly BSD - VirtualBox Guest
- How to flush the queue in DragonFly Mail Agent (DMA)
- NGINX : Exceeds 65535 connections limit
- make[1]: exec(f77) failed (No such file or directory) on DragonFly BSD
- How do I install strace on DragonFly BSD os?
- Undo a directory remove in HAMMER, DragonFly BSD
- Bloated echo command
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I don't know the autogen/config tools, but if you look the configure file:
https://github.com/okbob/ncurses-st-menu/blob/master/configure lines 4245-4269 only checks for linux,cygwin,mingw.
For other OS gives the error: OS $host_os is not supported