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
259 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
- PHP, Apache, FreeBSD permissions issue
- How to set "KRB5RCACHETYPE=none" environment variable in FreeBSD 10?
- starting a new process group from bash script
- Freebsd and unix general,want to set F9 with tilde
- How to downgrade all ports on FreeBSD
- rsync in a FreeBSD jail: failed to set times: Operation not permitted
- Mounting GEOM_ELI Encrypted ZFS Pool as root
- FreeBSD 10: list packages without descriptions
- How to trace system calls in FreeBSD from source code?
- Failed to add external hard disk with FreeBSD 10.1
- Is it possible to poll a kqueue's file descriptor with `select()`?
- Enabling the gold linker on Freebsd
- Porting GNU sed command to BSD sed
- Ruby SSL TCP Server stuck when more than 250 concurrent connexions
- How to deploy nginx without root access?
Related Questions in BSD
- How to downgrade all ports on FreeBSD
- How to abort 'close' a TCP connection?
- Is it not possible to use the CLI, bash in this case, to find a set, take a set, move it, and not have to write a library to do so
- Script to find all .h file and put in specified folder with same structure?
- unix command to copy all .h file with modified directory-structure
- Bash shell / Command: strip out arbitrary components in a given path?
- Reliable way to determine file size on POSIX/OS X given a file descriptor
- Can I use sendto() or sendmsg() to push a packet to the server's recvmmsg()?
- Mac unix script: given a list of file paths, find the one with latest modified date?
- BSD Virtual Guest
- MACOSX (BSD) equivalent for F_NOTIFY flag for fcntl() function
- Is there a linux equivalent for fpsetmask()?
- Trouble compiling ncurses-st-menu for BSD
- Boost::asio to Struct (like recv)
- How to increase the maximum semaphore limit on MacOS/BSD
Related Questions in OPENBSD
- OpenMP support on OpenBSD
- Installing RVM on OpenBSD: ruby: can't load library
- English Keyboard Settings for OpenBSD 4.6
- Process information in OpenBSD
- Connect to postgresql server on OpenBSD
- Is it possible to control mplayer from another program easily?
- Trouble compiling ncurses-st-menu for BSD
- "pfctl -s state" output explanation
- Error loading PHP 5.5 Module into Apache 1.3 (OpenBSD version) on OpenBSD 5.6 platform
- Building failed Erlang 17.3 on OpenBSD 5.6
- Is It bad for performance if a bunch of threads are in a blocking state?
- Setup YubiKey login on OpenBSD
- lein deps fails with cljfx
- Are There Always-Used and Kernel-Specific System Call For BSDs and Linux?
- In what language are OS programmed
Related Questions in NETBSD
- netbsd installation on ibook g4, boot: load-size is too small
- (Networking) XM6i emulating NetBSD 4.0.1 x68k
- Setting up desktop environment on NetBSD 6.1.5
- Host Only connection NetBSD to Windows
- C++ Compile error on NetBSD '::system' has not been declared
- Which processor would execute hardware interrupt in a muticore system
- Using sysctl(3) to write safe, portable code: good idea?
- how to get the netbsd precise version about book code Reading
- Generic Bit Macros
- Trouble compiling ncurses-st-menu for BSD
- netbsd ioctl for hard disk information
- Unix screen utility error: Cannot find termcap entry for 'xterm-256color'
- Cannot locate /usr/share/examples/svr4 on NetBSD 9.2 32-bit
- Solaris 8's gcc isn't searching for header files on NetBSD
- SSH to NetBSD 8.2 guest with X11 gives "X11 forwarding request failed on channel 0"
Related Questions in DRAGONFLY-BSD
- Trouble compiling ncurses-st-menu for BSD
- Configure mouse in Dragonfly BSD - VirtualBox Guest
- Creating a custom Linux/bsd bootloader in assembly
- Bloated echo command
- NGINX : Exceeds 65535 connections limit
- DragonflyBSD: possible race-condition in lock manager (kern_lock.c) code?
- Dragonfly BSD 6.2 on Vultr: No Disk Space
- Undo a directory remove in HAMMER, DragonFly BSD
- How do I install strace on DragonFly BSD os?
- How to flush the queue in DragonFly Mail Agent (DMA)
- make[1]: exec(f77) failed (No such file or directory) on DragonFly BSD
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 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