LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-06-2009, 09:02 PM   #1
lugoteehalt
Senior Member
 
Registered: Sep 2003
Location: UK
Distribution: Debian
Posts: 1,215
Blog Entries: 2

Rep: Reputation: 49
Compiling from source, cannot find edje, no .pc file?


Trying to get the Enlightenment 17 window manager, so used the script they give:
Code:
#!/bin/sh

set -e

PREFIX="/usr/local"

SVN="http://svn.enlightenment.org/svn/e/trunk"
OPT="--prefix=$PREFIX"

svn co $SVN

PROJECTS="eina eet evas ecore embryo edje e_dbus efreet eina e"

export PKG_CONFIG_PATH="$PREFIX/lib/pkgconfig:$PKG_CONFIG_PATH"
export PATH="$PREFIX/bin:$PATH"
export LD_LIBRARY_PATH="$PREFIX/lib:$LD_LIBRARY_PATH"

for PROJ in $PROJECTS; do
  pushd trunk/$PROJ
    make clean distclean || true
    ./autogen.sh $OPT && make && sudo make install
  popd
  sudo ldconfig
done
All went well until it could not find one of the components "edje", it found the others, "evas" and so on.

It say,
Code:
checking for E_THUMB... configure: error: Package requirements (
  evas
  ecore
  ecore-evas
  edje
  ecore-file
  ecore-ipc
  eet >= 1.0.1
  efreet
) were not met:

No package 'edje' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables E_THUMB_CFLAGS
and E_THUMB_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
I look in edje, which has been downloaded just like the others and to the same place but it has no *.pc file in it. pkg-config requires this file doesn't it?

How do you make it find edje? What might be put in E_THUMB_CFLAGS and E_THUMB_LIBS? Personally, I've had this sort of problem about a hundred billion billion trillion the earth the solar system the galaxy the universe times before.
 
Old 11-06-2009, 11:07 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,623

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
a common problem when using prebuilt binary's , just make a edje.pc file .
or BUILD the program and copy the .pc file to /usr/lib/pkgconfig
 
Old 11-07-2009, 12:22 AM   #3
lugoteehalt
Senior Member
 
Registered: Sep 2003
Location: UK
Distribution: Debian
Posts: 1,215

Original Poster
Blog Entries: 2

Rep: Reputation: 49
Quote:
Originally Posted by John VV View Post
a common problem when using prebuilt binary's , just make a edje.pc file .
or BUILD the program and copy the .pc file to /usr/lib/pkgconfig
Thanks. Couldn't work out how to write edje.pc, so noticed there was a file "edje.pc.in" in the edje directory: so knocked off the 'in' and put it into the pkgconfig directory as you suggested.

It nearly worked but got:
Code:
In file included from e_main.c:5:
e.h:80:18: error: Edje.h: No such file or directory
e_main.c: In function â mainâ :
e_main.c:399: warning: implicit declaration of function â edje_initâ
e_main.c:400: warning: implicit declaration of function â edje_freezeâ
e_main.c:401: error: â edje_shutdownâ  undeclared (first use in this function)
e_main.c:401: error: (Each undeclared identifier is reported only once
e_main.c:401: error: for each function it appears in.)
e_main.c:621: warning: implicit declaration of function â edje_frametime_setâ
e_main.c: In function â _e_main_cb_idler_beforeâ :
e_main.c:1536: warning: implicit declaration of function â edje_thawâ
make[3]: *** [e_main.o] Error 1
make[3]: Leaving directory `/home/lugo/Computing/Shell/trunk/e/src/bin'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/lugo/Computing/Shell/trunk/e/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/lugo/Computing/Shell/trunk/e'
make: *** [all] Error 2
So it's complaining about the non-existence of Edje.h. In fact it does exist in edje's /src/lib directory.

So is there something wrong with the edje.pc file I made perhaps?
Code:
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
datarootdir=@datarootdir@
datadir=@datadir@/edje

Name: edje
Description: Enlightened graphical design and layout engine.
@pkgconfig_requires_private@: @requirement_edje@
Version: @VERSION@
Libs: -L${libdir} -ledje
Libs.private:
Cflags: -I${includedir}
 
Old 11-07-2009, 12:50 AM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,623

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
that .in file IS NOT a pc file . it is close but not correct .just build the program and the pc file will be made.
 
Old 11-07-2009, 12:11 PM   #5
imagine_me2
Member
 
Registered: Nov 2009
Location: Kolkata, India
Distribution: Fedora 11
Posts: 136

Rep: Reputation: 22
try
$locate edje.pc

if you do not find it, consider installing the edje package again.

Then set the variable PKG_CONFIG_PATH to point to the edej.pc file
 
Old 11-09-2009, 07:37 AM   #6
lugoteehalt
Senior Member
 
Registered: Sep 2003
Location: UK
Distribution: Debian
Posts: 1,215

Original Poster
Blog Entries: 2

Rep: Reputation: 49
Thanks. My whole system got totaled. Assume it was the above but don't know for sure. Anyway needed to reinstall it for security reasons. God moves in mysterious ways, hope that is not blasphemous.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
e17: source install, edje cannot find lua, ./autogen.sh fails. Sum1 Linux - Desktop 8 07-28-2010 03:18 AM
Compiling MPlayer from source, can't find gtk-config narcolepticpathos Linux - Software 5 06-13-2006 06:10 PM
Compiling a single source file: hardstyleFX Programming 7 01-12-2006 06:09 AM
E17 compile error edje cannot find "brushed.png" inkysplat Linux - Software 1 01-06-2006 12:48 AM
Compiling K3b from source - can't find X includes timelord726 Linux - Software 3 08-13-2004 05:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration