Yes, glib-unix.h is in that subdir.  I copied it to the working directory, it
then complained of another file, in the same directory, so I copied THAT over,
until I got so tired of doing that, that I just did "cp *" on the entire
directory.

Then it wanted stuff from /usr/include/glib-2.0/glib, and then
/usr/lib/x86_64-linux-gnu/glib-2.0/include/, hence the $PATH export.

After doing "cp *" on all 3 directories into the project folder, it still wanted
more, so I gave up and went to bed.

I have pkg-config, which I assume is what you meant.

And I believe I recall reading that page when compiling 3.5.1, as I have all
of the packages it lists installed.  I made a list of the packages for 3.5.1,
so that I could install on other machines as needed.  These are all Debian
and/or Ubuntu packages, of course.

asciidoc
build-essential
cmake
doxygen
gcc
gir1.2-pango-1.0
git
imagemagick
libcairo2-dev
libdbus-1-dev
libgdk-pixbuf2.0-dev
libglib2.0-dev
liblua5.1-0-dev
libstartup-notification0-dev
libx11-xcb-dev
libxcb-cursor-dev
libxcb-cursor0
libxcb-icccm4-dev
libxcb-image0-dev
libxcb-keysyms1-dev
libxcb-randr0-dev
libxcb-shape0-dev
libxcb-util0-dev
libxcb-xinerama0-dev
libxcb-xtest0-dev
libxcursor-dev
libxdg-basedir-dev
lua5.2
lua-filesystem
lua-lgi
lua-penlight
pkg-config
xmlto



On 11/04/2013 08:48 AM, Zsolt Udvari wrote:
> 
> 
> I checked, and I have the libglib2.0-dev package installed.  I tried
> 
> export 
> PATH=$PATH:/usr/include/glib-2.0/:/usr/include/glib-2.0/glib:/usr/lib/x86_64-linux-gnu/glib-2.0/include/
>
>  but the make script is ignoring the $PATH, and wants all of the files
> from that package to be in the compilation directory.
> 
> Fail. PATH doesn't matter, PATH is full another thing (the system search
> the executables in dirs of PATH). Did you check that glib-unix.h exists in
> any subdir of /usr/include? Did you install pkgconfig package? Check:
> http://awesome.naquadah.org/wiki/Awesome-3-Ubuntu-git - you can replace the
> git-specific part of course :)
> 
> 
> 
> 
> Are the paths hard coded to the working directory in one of the source
> files or something?
> 
> 
> 
> On 11/03/2013 06:20 AM, Sebastian Lenz wrote:
>> Install the |libglib2.0-dev package and try again ;)
>> 
>> 
>> | -------- Original-Nachricht -------- Betreff: Compiling 3.5.2 Von:
>> Ranko Kohime <[email protected] <mailto:[email protected]>>
>> An:
> [email protected] <mailto:[email protected]> Datum: 03.11.2013
>> 12:12
>>> I'm having a little problem compiling 3.5.2 on Ubuntu 13.04.  After 
>>> dealing with the new libxcb-cursor-dev dependency, I get the following 
>>> when running make, after the configuration is done:
>>> 
>>> 
>>> Running make Makefile… Building… Scanning dependencies of target 
>>> generated_sources [  0%] Generating atoms-intern.h [  1%] Generating 
>>> atoms-extern.h [  1%] Built target generated_sources Scanning 
>>> dependencies of target awesome [  1%] Building C object 
>>> CMakeFiles/awesome.dir/awesome.c.o 
>>> /home/ranko/Downloads/awesome-3.5.2/awesome.c:36:23: fatal error: 
>>> glib-unix.h: No such file or directory compilation terminated.
>>> make[3]: *** [CMakeFiles/awesome.dir/awesome.c.o] Error 1 make[2]: *** 
>>> [CMakeFiles/awesome.dir/all] Error 2 make[1]: *** [all] Error 2 make:
>>> *** [cmake-build] Error 2
>>> 
>>> 
>>> glib-unix.h isn't in the tarball, so I've got no idea where to get it.
> 
> -- Ranko Kohime
> 
> Blog: <http://rankuni.wordpress.com/> PGP Pubkey:
> <http://keys.gnupg.net/pks/lookup?op=get&search=0x6891C00B8EDD027F>
> 
> -- To unsubscribe, send mail to [email protected] 
> <mailto:[email protected]>.
> 
> 

-- 
Ranko Kohime

Blog: <http://rankuni.wordpress.com/>
PGP Pubkey: <http://keys.gnupg.net/pks/lookup?op=get&search=0x6891C00B8EDD027F>

-- 
To unsubscribe, send mail to [email protected].

Reply via email to