Hello Thiago,
   thanks for the letter and for using Erigo :).
   I put an answer into this branch.

   Package for Ubuntu/Debian would be cool!

Now, about your problem.
efl/elementary installs its cmake files into: 
prefix/lib/cmake/Elementary, prefix/lib/cmake/Evas etc.
When compiling, Erigo finds ElementaryConfing.cmake in corresponding folder.

This message:  -- Could NOT find edje (missing: EDJE_LIBRARIES 
EDJE_INCLUDE_DIRS)
says that file actually was found but there is no such variable as 
EDJE_LIBRARIES and EDJE_INCLUDE_DIRS.
That's strange because Eina, Evas, Edje are in the same Efl package and 
only Edje is not found...

Try to look into in these files and maybe add MESSAGE(Hello world) into 
it, so you'll see printouts during "cmake .."
Maybe some other file is found in your case.

Yakov.


Hello Yakov!

Listen, I'm trying to build Erigo using my EFL Ubuntu packages
(`ppa:martinx/enlightenment`) but, when I tried to build it within a
"pbuilder" environment, it doesn't find neither "edge" or
"elementary". But at my real machine, it compiles...

Take a look:

Real machine with `ppa:martinx/enlightenment`, okay:

---
ebuilder@e-bld-1:~/E/erigo/erigo-0.9$  mkdir build_erigo
ebuilder@e-bld-1:~/E/erigo/erigo-0.9$  cd build_erigo/
ebuilder@e-bld-1:~/E/erigo/erigo-0.9/build_erigo$  cmake ..
-- The C compiler identification is GNU 4.9.1
-- The CXX compiler identification is GNU 4.9.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - donethiagocmarti...@gmail.com
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.28")
-- Found eina: /usr/lib/x86_64-linux-gnu/libeina.so
-- Found eo: /usr/lib/x86_64-linux-gnu/libeo.so
-- Found eolian: /usr/lib/x86_64-linux-gnu/libeolian.so
-- Found ecore: /usr/lib/x86_64-linux-gnu/libecore.so
-- Found evas: /usr/lib/x86_64-linux-gnu/libevas.so
-- Found edje: /usr/lib/x86_64-linux-gnu/libedje.so
-- Found elementary: /usr/lib/x86_64-linux-gnu/libelementary.so
-- Found ffi: /usr/lib/x86_64-linux-gnu/libffi.so
-- Found check: /usr/lib/x86_64-linux-gnu/libcheck.a
-- Found gvc: /usr/lib/libgvc.so
-- Found cgraph: /usr/lib/libcgraph.so
-- Configuring done
-- Generating done
-- Build files have been written to:
/home/ebuilder/E/erigo/erigo-0.9/build_erigo
---

Within the "pbuilder" environment with the same
`ppa:martinx/enlightenment`, not okay:

---
root@builder-1-i-000000a2:~/erigo-0.9#  mkdir build_erigo
root@builder-1-i-000000a2:~/erigo-0.9#  cd build_erigo/
root@builder-1-i-000000a2:~/erigo-0.9/build_erigo#  cmake ..
-- The C compiler identification is GNU 4.9.1
-- The CXX compiler identification is GNU 4.9.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.28")
-- Found eina: /usr/lib/x86_64-linux-gnu/libeina.so
-- Found eo: /usr/lib/x86_64-linux-gnu/libeo.so
-- Found eolian: /usr/lib/x86_64-linux-gnu/libeolian.so
-- Found ecore: /usr/lib/x86_64-linux-gnu/libecore.so
-- Found evas: /usr/lib/x86_64-linux-gnu/libevas.so
-- Could NOT find edje (missing:  EDJE_LIBRARIES EDJE_INCLUDE_DIRS)
-- Could NOT find elementary (missing:  ELEMENTARY_LIBRARIES
ELEMENTARY_INCLUDE_DIRS)
-- Found ffi: /usr/lib/x86_64-linux-gnu/libffi.so
-- Found check: /usr/lib/x86_64-linux-gnu/libcheck.a
-- Found gvc: /usr/lib/libgvc.so
-- Found cgraph: /usr/lib/libcgraph.so
CMake Error: The following variables are used in this project, but
they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the
CMake files:
EDJE_LIBRARY (ADVANCED)
     linked by target "erigo" in directory 
/tmp/buildd/erigo-0.9/src/bin/egui_gui
ELEMENTARY_LIBRARY (ADVANCED)
     linked by target "guiparser" in directory /tmp/buildd/erigo-0.9/src/lib
     linked by target "erigo_cmd" in directory /tmp/buildd/erigo-0.9/src/bin
     linked by target "erigo" in directory 
/tmp/buildd/erigo-0.9/src/bin/egui_gui

-- Configuring incomplete, errors occurred!
See also "/tmp/buildd/erigo-0.9/build_erigo/CMakeFiles/CMakeOutput.log".
---

See it? It doesn't find neither "edge" or "elementary" but, the
packages (and headers) are there...

CMakeOutput.log:http://pastebin.com/y7aZufcG  - I think I copied and
pasted it entirely.

---
root@builder-1-i-000000a2:~/erigo-0.9/build_erigo#  file
/usr/lib/x86_64-linux-gnu/libedje.so
/usr/lib/x86_64-linux-gnu/libedje.so: symbolic link to `libedje.so.1.13.0'
root@builder-1-i-000000a2:~/erigo-0.9/build_erigo#  file
/usr/lib/x86_64-linux-gnu/libelementary.so
/usr/lib/x86_64-linux-gnu/libelementary.so: symbolic link to
`libelementary.so.1.13.0'
----

>From what I'm seeing, I am probably missing some package(s) within the
"pbuilder" environment...

Can you help me?!

And BTW, I'm trying to create a Debian / Ubuntu package for Erigo!
Just for fun!

Best!
Thiago







------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to