search cancel

Gen Linux build "No such file ..." & "cannot find -lncurses"

book

Article ID: 134467

calendar_today

Updated On:

Products

Gen Gen - Workstation Toolset Gen - Run Time Distributed Gen - Host Encyclopedia

Issue/Introduction

New Gen 8.6 Linux IT install (Red Hat Enterprise Linux 7.6)
Build of simple cooperative server fails with this error:
===
Error opening [/home/gen86/cstest/gen8695552.i]
============================
==== Building SVR1 ================================
make: /home/gen86/cstest/gen8695552.i: No such file or directory
make: *** No rule to make target `/home/gen86/cstest/gen8695552.i'.
Stop.
Error installing SVR1
ERROR Make failed!
instmsgj SVR1 IEFSIGNAL:FAIL
Error opening [/home/gen86/cstest/gen8695853.i]
============================
==== Building SVR1 ================================
===


Environment

Release : 8.6
Component : Gen Build Tool on Linux.

Cause

The initial load module build error was due to not having the GNU C compiler installed.

Resolution

Resolved original error by installing the GNU C compiler using command: yum install gcc


Then encountered error:
=== 
/bin/sh: g++: command not found
make: *** [/home/gen86/cstest3/SVR1] Error 127
Error installing SVR1
ERROR Make failed!
instmsgj SVR1 IEFSIGNAL:FAIL 
===
Resolved that error by installing gcc-c++ package i.e  command: yum install gcc-c++


Then encountered error:
=== 
/bin/ld: cannot find -lncurses
collect2: error: ld returned 1 exit status
make: *** [/home/gen86/cstest4/SVR1] Error 1
Error installing SVR1
ERROR Make failed!
instmsgj SVR1 IEFSIGNAL:FAIL
===
Resolved that error by installing ncurses-devel package i.e. command: yum install ncurses-devel

Additional Information

Gen™ 8.6 > Technical Requirements >Third-Party Software Version - See Compilers

Gen™ 8.6 > Technical Requirements > Development Platform Environments - See Linux