Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not install Library #97

Open
gianluca1606 opened this issue Feb 4, 2021 · 7 comments
Open

Can not install Library #97

gianluca1606 opened this issue Feb 4, 2021 · 7 comments

Comments

@gianluca1606
Copy link

Hello guys I am trying to install ILEastic and I followed the steps, but I am getting the following errors at step:
cd ILEastic
gmake

bash-4.4$ gmake system -qi "CRTLIB ILEASTIC TYPE(*TEST) TEXT('ILEastic: Programmable application s server for ILE')" gmake: [makefile:41: env] Error 1 (ignored) system -qi "CRTBNDDIR BNDDIR(ILEASTIC/ILEASTIC)" gmake: [makefile:42: env] Error 1 (ignored) system -qi "ADDBNDDIRE BNDDIR(ILEASTIC/ILEASTIC) OBJ((*LIBL/ILEASTIC))" system -qi "CHGATR OBJ('headers/*') ATR(*CCSID) VALUE(1208)" cd noxDB && /QOpenSys/pkgs/bin/gmake BIN_LIB=ILEASTIC gmake[1]: Entering directory '/prj/ILEastic/noxDB' system -q "CRTLIB ILEASTIC TYPE(*TEST)" gmake[1]: [makefile:40: ILEASTIC.lib] Error 255 (ignored) system -q "CHGATR OBJ('src/noxdb.c') ATR(*CCSID) VALUE(1252)" system "CRTCMOD MODULE(ILEASTIC/noxdb) SRCSTMF('src/noxdb.c') OPTIMIZE(10) ENUM( *INT) TERASPACE(*YES) STGMDL(*INHERIT) SYSIFCOPT(*IFSIO) INCDIR('/QIBM/include' 'headers/' 'headers/ext/') DBGVIEW(*ALL) TGTCCSID(*JOB) TGTRLS(V7R1M0)" CZM0613: The compilation failed. gmake[1]: *** [makefile:53: noxdb.c] Error 255 gmake[1]: Leaving directory '/prj/ILEastic/noxDB' gmake: *** [makefile:50: noxDB] Error 2 bash-4.4$

Our system is at V7R3.

Git and make-gnu are up to date.

@NielsLiisberg
Copy link
Collaborator

NielsLiisberg commented Feb 4, 2021 via email

@gianluca1606
Copy link
Author

qp2term

I am using SSH, I tried it from the windows OPEN SSH client but also with putty from ACS. I always get the same error. In order to be able to use gmake I had to set the path to PATH=/QOpenSys/pkgs/bin:$PATH but i do not know if this has can affect something.

@m1h43l
Copy link
Collaborator

m1h43l commented Feb 5, 2021

Hi,

what is the CCSID of your Job?

And what is the output if you execute gmake in the noxDB directory?

@gianluca1606
Copy link
Author

The output looks like this system -q "CRTLIB NOXDB TYPE(*TEST)" system -q "CHGATR OBJ('src/noxdb.c') ATR(*CCSID) VALUE(1252)" system "CRTCMOD MODULE(NOXDB/noxdb) SRCSTMF('src/noxdb.c') OPTIMIZE(10) ENUM(*INT) TERASPACE(*YES) STGMDL(*INHERIT) SYSIFCOPT(*IFSIO) INCDIR('/QIBM/include' 'headers/' 'headers/ext/') DBGVIEW(*ALL) TGTCCSID(*JOB) TGTRLS(V7R1M0)" CZM0613: The compilation failed. gmake: *** [makefile:53: noxdb.c] Error 255

If i checked it right it is using 65535.

Also my user profile uses *sysval and the DSPSYSVAL SYSVAL(QCCSID) also gives me an output of 65535.

@NielsLiisberg
Copy link
Collaborator

NielsLiisberg commented Feb 5, 2021 via email

@gianluca1606
Copy link
Author

I know that Jesse G did a change the build to use absolute path for submodules - So maybe that is breaking it if you have not the right path

On Fri, Feb 5, 2021 at 10:02 AM gianluca1606 @.***> wrote: The output looks like this system -q "CRTLIB NOXDB TYPE(*TEST)" system -q "CHGATR OBJ('src/noxdb.c') ATR(*CCSID) VALUE(1252)" system "CRTCMOD MODULE(NOXDB/noxdb) SRCSTMF('src/noxdb.c') OPTIMIZE(10) ENUM(*INT) TERASPACE(*YES) STGMDL(*INHERIT) SYSIFCOPT(*IFSIO) INCDIR('/QIBM/include' 'headers/' 'headers/ext/') DBGVIEW(*ALL) TGTCCSID(*JOB) TGTRLS(V7R1M0)" CZM0613: The compilation failed. gmake: *** [makefile:53: noxdb.c] Error 255 If i checked it right it is using 65535. Also my user profile uses *sysval and the DSPSYSVAL SYSVAL(QCCSID) also gives me an output of 65535. — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#97 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAVIPHRCMM6GTQZTEDVRS3LS5OXWHANCNFSM4XDGIQTA .

Okay but in order to use gmake/make i need to set the PATH like this PATH=/QOpenSys/pkgs/bin:$PATH. Do i have another possibility ?

@priosoft
Copy link

Stesso Errore.
Same Issue
cd noxDB
gmake

system -q "CHGATR OBJ('src/datagen.c') ATR(*CCSID) VALUE(1252)"
system "CRTCMOD MODULE(NOXDB/datagen) SRCSTMF('src/datagen.c') OPTIMIZE(10) ENUM(*INT) TERASPACE(*YES) STGMDL(*INHERIT) SYSIFCOPT(*IFSIO) INCDIR('/QIBM/include' 'headers/' 'headers/ext/') DBGVIEW(*ALL) TGTCCSID(*JOB) TGTRLS(V7R1M0)"
CZS0601: Il modulo DATAGEN non viene creato in quanto si sono verificati errori di istruzione.
CZM0613: La compilazione ha avuto esito negativo.
gmake: *** [makefile:52: datagen.c] Error 255

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants