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

Oddness building on CentOS 6.5 #16

Closed
chippey opened this issue Apr 8, 2014 · 2 comments
Closed

Oddness building on CentOS 6.5 #16

chippey opened this issue Apr 8, 2014 · 2 comments

Comments

@chippey
Copy link

chippey commented Apr 8, 2014

So, I've run into a very odd hiccup building on CentOS 6.5, as the subject says -
Cloning in a vanilla repo from github, and following the build instructions for the impatient (making a blank build dir and running cmake in it), I get 83% of the build progress when I get

make[2]: *** No rule to make target `src/SeExpr/libSeExpr.so', needed by `src/SeExprEditor/libSeExprEditor.so'.  Stop.
make[1]: *** [src/SeExprEditor/CMakeFiles/SeExprEditor.dir/all] Error 2
make:  *** [all] Error 2

A bit of digging reveals that there's no libSeExpr.so in src/SeExpr (in the build dir), which is odd as further up in the build progress (at about 15% of the way through), the log shows:

Linking CXX shared library libSeExpr.so

going directly into the src/SeExpr dir (in the build dir), and running make (with the cmake generate Makefile) there does build the vanished libSeExpr.so

(ie,

cd src/SeExpr
make

)
produces the library and seems to fix the problem.

From there I can go back to the base build and finish building no problem (

cd ../..
make install

)

I've got a fairly vanilla CentOS 6.5 install, with an except that I'm building with gcc 4.1.2 (but this vanishing behaviour also is exhibited with gcc 4.4.7-4 (the one that's packaged with CentOS 6.5)).

To be clear, I'm able to build and use SeExpr in the end (woohoo!), but though you might like to be aware of the odd hoop I jumped through to do it.

Cheers!
-Matt

@aselle
Copy link
Contributor

aselle commented Apr 9, 2014

Hmm that's fairly strange. I'm using RHEL 6.4, and I just tried it, and I
didn't see that problem. I'll see if I can figure out what is going on with
CentOS 6.5 when I get a chance.

On Tue, Apr 8, 2014 at 12:11 AM, chippey notifications@github.com wrote:

So, I've run into a very odd hiccup building on CentOS 6.5, as the subject
says -
Cloning in a vanilla repo from github, and following the build
instructions for the impatient (making a blank build dir and running cmake
in it), I get 83% of the build progress when I get

make[2]: *** No rule to make target src/SeExpr/libSeExpr.so', needed bysrc/SeExprEditor/libSeExprEditor.so'. Stop.
make[1]: *** [src/SeExprEditor/CMakeFiles/SeExprEditor.dir/all] Error 2
make: *** [all] Error 2

A bit of digging reveals that there's no libSeExpr.so in src/SeExpr (in
the build dir), which is odd as further up in the build progress (at about
15% of the way through), the log shows:

Linking CXX shared library libSeExpr.so

going directly into the src/SeExpr dir (in the build dir), and running
make (with the cmake generate Makefile) there does build the vanished
libSeExpr.so

(ie,

cd src/SeExpr
make

)
produces the library and seems to fix the problem.

From there I can go back to the base build and finish building no problem (

cd ../..
make install

)

I've got a fairly vanilla CentOS 6.5 install, with an except that I'm
building with gcc 4.1.2 (but this vanishing behaviour also is exhibited
with gcc 4.4.7-4 (the one that's packaged with CentOS 6.5)).

To be clear, I'm able to build and use SeExpr in the end (woohoo!), but
though you might like to be aware of the odd hoop I jumped through to do it.

Cheers!
-Matt

Reply to this email directly or view it on GitHubhttps://github.com//issues/16
.

@davvid
Copy link
Member

davvid commented Jul 10, 2019

This should be a non-issue with the latest cmake updates. Please reopen if you still see this.

@davvid davvid closed this as completed Jul 10, 2019
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

3 participants