Replies: 5 comments 3 replies
-
I haven't tried that specific OS yet, but it's easy enough to spin up a container and see what the story is. Can you share some of the errors you've seen? |
Beta Was this translation helpful? Give feedback.
-
Hi eteran! First, I tried without root access, and here what I've got: cd /phyd/users/cdoming cd .. qt5 local path settingexport Qt5_DIR=/gpfs/phyd/users/cdoming/nedit-ng/DEPENDENCIES-LOCAL-INSTALL/QT5/5.12.12/gcc_64 using specific version of cmake../DEPENDENCIES-LOCAL-INSTALL/cmake-3.25.2-linux-x86_64/bin/cmake .. -DBOOST_ROOT=/phyd/users/cdoming/nedit-ng/DEPENDENCIES-LOCAL-INSTALL/boost_1_55_0 -- The CXX compiler identification is GNU 4.8.5 make Any clue of what could be wrong here? gcc version? boost install? Thanks and regards, |
Beta Was this translation helpful? Give feedback.
-
I've been building nedit-ng on RHEL-7 for many years. You will need updated versions of binutils, gcc and g++, and probably Cmake, Bison and Boost too to build it with — check the minimum versions that the nedit-ng documentation specifies. On the official Red Hat release I use their devtoolset-7 with packages like these to provide GCC:
I assume Centos 7 provide equivalents to them; newer versions would also probably work. This is the Makefile I add to the top-level of the nedit-ng working directory to configure and build it to run from my personal home directory: # My build configuration
PREFIX = /home/anjohnson
TOOLSET = /opt/rh/devtoolset-7
CMAKE = /opt/cmake/bin/cmake
BUILD = Build
CMAKE_TARGETS = all install
CMAKE_OPTIONS += -DCMAKE_INSTALL_PREFIX=$(PREFIX)
# UI preference configuration:
CMAKE_OPTIONS += -DPER_TAB_CLOSE=ON
default: install
# NB: $(BUILD) is a real directory
$(BUILD):
mkdir $@
$(BUILD)/Makefile: $(BUILD)
cd $(BUILD) && \
source $(TOOLSET)/enable && \
$(CMAKE) $(CMAKE_OPTIONS) ..
$(CMAKE_TARGETS): %: $(BUILD)/Makefile
$(MAKE) -C $(BUILD) -j $@
clean:
test -f $(BUILD)/Makefile && \
$(MAKE) -C $(BUILD) $@
distclean:
rm -rf $(BUILD)
.PHONY: $(CMAKE_TARGETS) clean distclean
.NOTPARALLEL: |
Beta Was this translation helpful? Give feedback.
-
Thanks @anjohnson ! Saving me a lot of time with this helpful build tips :-) |
Beta Was this translation helpful? Give feedback.
-
Thanks @anjohnson ! I verified the following:
and after doing : I was able to compile nedit-ng ! (so it was clearly a gcc / c++ version issue) However I don't understand why I had to install locally boost and give its path while boost with a compatible version is available
Any idea why ? Regards, PS: I had to do this: |
Beta Was this translation helpful? Give feedback.
-
Hi Guys,
Has anyone managed to build nedit-ng on CentOS 7?
I've been trying for a few days now without success so far :'(
Any tips or help would be pretty much appreciated.
Thanks and Regards,
Necoboss
Beta Was this translation helpful? Give feedback.
All reactions