Menu

#14 Install from git issues

1.0
closed
nobody
None
2018-05-26
2018-05-20
No

I am installing GFE but I am getting the following:

-Wall -Wextra -O3 -g -c main.C -o main.o
/usr/bin/python3 /home/gfe/gfe/scripts/build/MakeVersionFile "1.10.0" gfe_version.C
/usr/bin/c++ -I/home/gfe/gfe/libs/ifpData/include -I/home/gfe/gfe/libs/support -I/home/gfe/gfe/libs/foundation -I/home/gfe/gfe/libs/logStream -Wp,-MD,.gfe_version.o.d -Wall -Wextra -O3 -g -c gfe_version.C -o gfe_version.o
/usr/bin/c++ -Wl,-E -Wall -Wextra -O3 -g -o gfe gfe_version.o main.o -L/home/gfe/gfe/gfe/editTool -L/home/gfe/gfe/gfe/gfePyIntr -L/home/gfe/gfe/gfe/dataMgr -L/home/gfe/gfe/gfe/msgHand -L/home/gfe/gfe/gfe/parm -L/home/gfe/gfe/gfe/visual -L/home/gfe/gfe/gfe/graphics -leditTool -lgfePyIntr -ldataMgr -lmsgHand -lparm -lvisual -lgraphics -leditTool -lgfePyIntr -ldataMgr -lmsgHand -lparm -lvisual -lgraphics -L/home/gfe/gfe/libs/interpolator -linterpolator -L/home/gfe/gfe/libs/pyInter -lsupIntr -L/home/gfe/gfe/libs/ifpData -lifpData -L/home/gfe/gfe/libs/support -lsupport -L/home/gfe/gfe/libs/foundation -lfoundation -L/home/gfe/gfe/libs/logStream -llogStream -lexpat -lxmlrpc_client++ -lxmlrpc++ -lxmlrpc_client -lxmlrpc -lxml++-2.6 -lxml2 -lglibmm-2.4 -lgobject-2.0 -lglib-2.0 -lsigc-2.0 -lcurl -lpython3.6m -lpthread -ldl -lutil -lm -L/home/gfe/gfe/libs/gifLib -lgdplus -lgd -lplot -ltk8.6 -ltcl8.6 -lX11 -lXext
main.o: In function std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, _object* (*)()>::pair<char const (&) [9], _object* (*)(), true>(char const (&) [9], _object* (*&&)())': /usr/include/c++/7/bits/stl_pair.h:331: undefined reference toPyInit__AFPSSup'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:23: gfe] Error 1
make[1]: *** [../Rules.make:79: all] Error 2
make[1]: Leaving directory '/home/gfe/gfe/gfe'
make: *** [Makefile:61: gfe] Error 2
[gfe@localhost gfe]$ make install prefix=/home/gfe/gfeInstall
find . -name "~" -o -name ".py[co]" -exec rm -f {} \;
find . -depth -name "pycache" -exec rmdir {} \;
/usr/bin/python3 -O /home/gfe/gfe/scripts/build/makeInstall -Dprefix=/home/gfe/gfeInstall -Dexec_prefix=/home/gfe/gfeInstall -Dbindir=/home/gfe/gfeInstall/bin -Dsbindir=/home/gfe/gfeInstall/sbin -Dlibexecdir=/home/gfe/gfeInstall/libexec -Ddatarootdir=/home/gfe/gfeInstall/share -Ddatadir=/home/gfe/gfeInstall/share -Dsysconfdir=/home/gfe/gfeInstall/etc -Dlocalstatedir=/home/gfe/gfeInstall/var -Ddocdir=/home/gfe/gfeInstall/share/doc/gfe -Dlibdir=/home/gfe/gfeInstall/lib -DDESTDIR= -Dport=8044 -Dsite=ILN
Traceback (most recent call last):
File "/home/gfe/gfe/scripts/build/makeInstall", line 476, in <module>
main()
File "/home/gfe/gfe/scripts/build/makeInstall", line 473, in main
GFEInstaller().install()
File "/home/gfe/gfe/scripts/build/makeInstall", line 463, in install
self.copyGFE(paths)
File "/home/gfe/gfe/scripts/build/makeInstall", line 239, in copyGFE
shutil.copy2('gfe/gfe', excgfe)
File "/usr/lib64/python3.6/shutil.py", line 257, in copy2
copyfile(src, dst, follow_symlinks=follow_symlinks)
File "/usr/lib64/python3.6/shutil.py", line 120, in copyfile
with open(src, 'rb') as fsrc:
FileNotFoundError: [Errno 2] No such file or directory: 'gfe/gfe'
make: *** [Makefile:49: install] Error 1</module>

IDK why it's not installing, especially with this last line.

Discussion

  • Michael Foland

    Michael Foland - 2018-05-20

    It should be noted in past the way I'm installing this HAS worked.

     
  • Michael Foland

    Michael Foland - 2018-05-21

    Please close this. I fixed it. There was something wrong with the prefix in the makefile. I fixed it to my home where I'm installing instead of /usr/var ;)

     
  • Mike Romberg

    Mike Romberg - 2018-05-26
    • status: open --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB