Giter Site home page Giter Site logo

cmake gporca error about gporca HOT 4 CLOSED

greenplum-db avatar greenplum-db commented on August 14, 2024
cmake gporca error

from gporca.

Comments (4)

vraghavan78 avatar vraghavan78 commented on August 14, 2024

@digoal did you install Xerces and GPOS?

from gporca.

digoal avatar digoal commented on August 14, 2024

cd ~
tar -zxvf cmake-3.4.1.tar.gz
cd cmake-3.4.1
./configure --prefix=/home/digoal/cmake
make -j 32
make install -j 32
export PATH=/home/digoal/cmake/bin:$PATH

cd ~
git clone https://github.com/greenplum-db/gpos.git
cd gpos
mkdir build
cd build
cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/home/digoal/gpos_work ../
ctest -j 32
100% tests passed, 0 tests failed out of 45
Total Test time (real) = 5.87 sec
make -j 32
make install -j 32

cd ~
git clone https://github.com/greenplum-db/gporca.git

 https://xerces.apache.org/xerces-c/download.cgi

wget http://mirrors.cnnic.cn/apache//xerces/c/3/sources/xerces-c-3.1.2.tar.bz2
tar -jxvf xerces-c-3.1.2.tar.bz2
cd xerces-c-3.1.2
patch -p1 < ~/gporca/patches/xerces-c-gpdb.patch
mkdir build
cd build
../configure --prefix=/home/digoal/gp_xerces --enable-shared
make -j 32
make install -j 32
export PATH=/home/digoal/gp_xerces/bin:$PATH

cd ~/gporca
mkdir build
cd build
cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/home/digoal/gporca_work
-D XERCES_INCLUDE_DIR=/home/digoal/gp_xerces/include -D XERCES_LIBRARY=/home/digoal/gp_xerces/lib/libxerces-c.so
-D GPOS_INCLUDE_DIR=/home/digoal/gpos_work/include/gpos -D GPOS_LIBRARY=/home/digoal/gpos_work/lib/libgpos.so.1.135
../

from gporca.

hsyuan avatar hsyuan commented on August 14, 2024

Don't use GPOS_INCLUDE_DIR, PREFIX, LIBRARY during build, just use default location. Please follow the README.md file.
Which OS are you using?

from gporca.

vraghavan78 avatar vraghavan78 commented on August 14, 2024

@digoal please let me know if this is still an issue and I will re-open it

from gporca.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.