Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

scons: *** [build] Error 1 and Error 2 #1986

Open
jestinpaul opened this issue Feb 28, 2022 · 7 comments
Open

scons: *** [build] Error 1 and Error 2 #1986

jestinpaul opened this issue Feb 28, 2022 · 7 comments

Comments

@jestinpaul
Copy link

Describe the bug

I am trying to build the latest stable verion 5.3.8 of earthenterprise using command
python2.7 /usr/bin/scons -j8 release=1 build

I am getting the following errors:

=============

NATIVE-REL-x86_64/third_party/skia/src/images/SkImageDecoder_libgif.cpp:17:21: fatal error: gif_lib.h: No such file or directory
#include "gif_lib.h"
^
compilation terminated.
scons: *** [NATIVE-REL-x86_64/third_party/skia/src/images/SkImageDecoder_libgif.o] Error 1

==========

NATIVE-REL-x86_64/third_party/skia/src/gpu/SkGr.cpp: In function 'GrTexture* GrLockAndRefCachedBitmapTexture(GrContext*, const SkBitmap&, const GrTextureParams*)':
NATIVE-REL-x86_64/third_party/skia/src/gpu/SkGr.cpp:186:34: warning: left operand of comma operator has no effect [-Wunused-value]
bitmap.width(), bitmap.height());
^
scons: building terminated because of errors.
scons: *** [build] Error 2
scons: building terminated because of errors.

=================

To Reproduce

I have done clone of earthenterprise and running the build command from earthenterprise/earth_enterprise folder

  • Server OS: [RHEL 7.9]

Additional context

I am new to build and compilation procedure and following steps from website.

Attaching the output with error:

error_capture.txt

@jestinpaul
Copy link
Author

We have solved this issue. Due to our inexperience in development, we were not knowing that it requires almost 80-100 additional rpms to be downloaded and installed on the RHEL7.9 server, with various dependencies of core, devel, lib, noarch rpms from Redhat/CentOS and rpm sites. At present, we have tested an offline server, without internet, with 5.3.8 source code. Somehow, It is showing 5.3.9 beta in the help about of fusion application.

@youmeric
Copy link

youmeric commented Mar 8, 2022

@jestinpaul Hello, how did you resolve this error?

@jestinpaul
Copy link
Author

As mentioned earlier, due to our inexperience in development, we were not knowing the list of rpms required nor nobody given a comprehensive list of rpms.

We were collecting it from Redhat, CentOS and other rpm sites and installing one by one based on the error coming while running the build command. The dependency, prerequisites of each rpms their version difference -like 7, 7.9 between devel, lib, core, noarch rpms made it difficult. Some cases, we needed to uninstall existing rpm e.g. git 1.8.3 was uninstalled for git 2.x along with other related packages. Lack of expertise on yum commands also delayed things further.

If anyone wants to repeat this on a RHEL7.9, we can lead them. We are doing this for the first time and our running version is 5.1.2 which is changed now to 5.3.8 on test server

@jestinpaul
Copy link
Author

jestinpaul commented Mar 16, 2022 via email

@jestinpaul
Copy link
Author

I am currently doing this on RHEL 7.9 and be getting stuck with the same error as in the first post

Are you able to do this installation?
Do you want the list of rpms required?

@edeles-navagis
Copy link

@jestinpaul , can you share the list of the rpms you installed.
We are installing on RHEL 8, maybe it can help.

@jestinpaul
Copy link
Author

jestinpaul commented May 20, 2022

We are not successful on RHEL8 especially due to python3. The rpm list used for RHEL7.9 sent

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

No branches or pull requests

3 participants