Hi....fantastic.... I can use project with scite! very nice and simple without other stuff. thank you.
I am trying to install on arch linux:
1) never used cmake before. Did this:
- put files in folder in /opt and inside opt folder called sciteproj
ran this: cmake /opt/sciteproj -G"Unix Makefiles"
After all the output I tried make and also make install
though I think the first problem is here with output of cmake:
cmake created a folder in my root (i was running as root) called CMakeFiles
Here's the first bit of the cmake output.
I can post part of the make and make install as well if needed.
------------ cmake forst part of output--------------
bash-3.2# cmake /opt/sciteproj -G"Unix Makefiles"
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- 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
-- Building Release executable
-- (DEBUG) GTK2_GTK_INCLUDE_DIR is /usr/include
-- Found GTK2: /usr/lib/libgtk-x11-2.0.so;/usr/lib/libgdk-x11-2.0.so;/usr/lib/libgdk_pixbuf-2.0.so;/usr/lib/libgmodule-2.0.so;/usr/lib/libgthread-2.0.so;/usr/lib/libgobject-2.0.so;/usr/lib/libpango-1.0.so;/usr/lib/libpangocairo-1.0.so;/usr/lib/libatk-1.0.so
-- Configuring done
-- Generating done
-- Build files have been written to: /root
bash-3.2# make
Scanning dependencies of target sciteproj
[ 9%] Building C object CMakeFiles/sciteproj.dir/src/main.o
In file included from /opt/sciteproj/src/gui.h:4,
from /opt/sciteproj/src/main.c:21:
/usr/include/gtk/gtk.h:31:21: error: gdk/gdk.h: No such file or directory
In file included from /usr/include/gtk/gtk.h:32,
from /opt/sciteproj/src/gui.h:4,
from /opt/sciteproj/src/main.c:21:
/usr/include/gtk/gtkaccelgroup.h:68: error: expected specifier-qualifier-list before 'GdkModifierType'
/usr/include/gtk/gtkaccelgroup.h:78: error: expected specifier-qualifier-list before 'GdkModifierType'
/usr/include/gtk/gtkaccelgroup.h:89: error: expected declaration specifiers or '...' before 'GdkModifierType'
/usr/include/gtk/gtkaccelgroup.h:92: error: expected declaration specifiers or '...' before 'GdkModifierType'
/usr/include/gtk/gtkaccelgroup.h:94: error: expected declaration specifiers or '...' before 'GdkModifierType'
/usr/include/gtk/gtkaccelgroup.h:95: error: expected ')' before 'default_mod_mask'
/usr/include/gtk/gtkaccelgroup.h:109: error: expected declaration specifiers or '...' before 'GdkModifierType'
/usr/include/gtk/gtkaccelgroup.h:115: error: expected declaration specifiers or '...' before 'GdkModifierType'
/usr/include/gtk/gtkaccelgroup.h:125: error: expected declaration specifiers or '...' before 'GdkModifierType'
/usr/include/gtk/gtkaccelgroup.h:128: error: expected declaration specifiers or '...' before 'GdkModifierType'
/usr/include/gtk/gtkaccelgroup.h:131: error: expected declaration specifiers or '...' before 'GdkModifierType'
/usr/include/gtk/gtkaccelgroup.h:134: error: expected declaration specifiers or '...' before 'GdkModifierType'
/usr/include/gtk/gtkaccelgroup.h:140: error: expected declaration specifiers or '...' before 'GdkModifierType'
/usr/include/gtk/gtkaccelgroup.h:149: error: expected declaration specifiers or '...' before 'GdkModifierType'
/usr/include/gtk/gtkaccelgroup.h:154: error: expected declaration specifiers or '...' before 'GdkModifierType'
In file included from /usr/include/gtk/gtkwidget.h:34,
from /usr/include/gtk/gtkmisc.h:32,
from /usr/include/gtk/gtklabel.h:31,
from /usr/include/gtk/gtkaccellabel.h:34,
from /usr/include/gtk/gtk.h:33,
from /opt/sciteproj/src/gui.h:4,
from /opt/sciteproj/src/main.c:21:
/usr/include/gtk/gtkstyle.h:64: error: expected specifier-qualifier-list before 'GdkColor'
/usr/include/gtk/gtkstyle.h:112: error: expected declaration specifiers or '...' before 'GdkWindow'
/usr/include/gtk/gtkstyle.h:114: error: expected declaration specifiers or '...' before 'GdkRectangle'
/usr/include/gtk/gtkstyle.h:121: error: expected declaration specifiers or '...' before 'GdkWindow'
/usr/include/gtk/gtkstyle.h:123: error: expected declaration specifiers or '...' before 'GdkRectangle
-------------------
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2009-02-17
Hi!
Thank you for your appreciation!
Do you have a full development setup of gtk installed? This line makes me think otherwise:
/usr/include/gtk/gtk.h:31:21: error: gdk/gdk.h: No such file or directory
Seems in some way that you have gtk installed, but not gdk...
I havn't used Arch myself, but could you see if there are some gdk-related development packages that you are missing?
Also, the cmake command should really give errors on this, this is indeed a bug on my side, sorry.
You shouldn't really need to be root until the make install command. Could you try to run "cmake .." and "make" as non-priviliged user from the "build"-folder as distributed in the package, and then just the "make install" as root?
It might be that the build system is confused by the fact that you are root during the entire build operation.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi....fantastic.... I can use project with scite! very nice and simple without other stuff. thank you.
I am trying to install on arch linux:
1) never used cmake before. Did this:
- put files in folder in /opt and inside opt folder called sciteproj
ran this: cmake /opt/sciteproj -G"Unix Makefiles"
After all the output I tried make and also make install
though I think the first problem is here with output of cmake:
cmake created a folder in my root (i was running as root) called CMakeFiles
Here's the first bit of the cmake output.
I can post part of the make and make install as well if needed.
------------ cmake forst part of output--------------
bash-3.2# cmake /opt/sciteproj -G"Unix Makefiles"
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- 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
-- Building Release executable
-- (DEBUG) GTK2_GTK_INCLUDE_DIR is /usr/include
-- Found GTK2: /usr/lib/libgtk-x11-2.0.so;/usr/lib/libgdk-x11-2.0.so;/usr/lib/libgdk_pixbuf-2.0.so;/usr/lib/libgmodule-2.0.so;/usr/lib/libgthread-2.0.so;/usr/lib/libgobject-2.0.so;/usr/lib/libpango-1.0.so;/usr/lib/libpangocairo-1.0.so;/usr/lib/libatk-1.0.so
-- Configuring done
-- Generating done
-- Build files have been written to: /root
bash-3.2# make
Scanning dependencies of target sciteproj
[ 9%] Building C object CMakeFiles/sciteproj.dir/src/main.o
In file included from /opt/sciteproj/src/gui.h:4,
from /opt/sciteproj/src/main.c:21:
/usr/include/gtk/gtk.h:31:21: error: gdk/gdk.h: No such file or directory
In file included from /usr/include/gtk/gtk.h:32,
from /opt/sciteproj/src/gui.h:4,
from /opt/sciteproj/src/main.c:21:
/usr/include/gtk/gtkaccelgroup.h:68: error: expected specifier-qualifier-list before 'GdkModifierType'
/usr/include/gtk/gtkaccelgroup.h:78: error: expected specifier-qualifier-list before 'GdkModifierType'
/usr/include/gtk/gtkaccelgroup.h:89: error: expected declaration specifiers or '...' before 'GdkModifierType'
/usr/include/gtk/gtkaccelgroup.h:92: error: expected declaration specifiers or '...' before 'GdkModifierType'
/usr/include/gtk/gtkaccelgroup.h:94: error: expected declaration specifiers or '...' before 'GdkModifierType'
/usr/include/gtk/gtkaccelgroup.h:95: error: expected ')' before 'default_mod_mask'
/usr/include/gtk/gtkaccelgroup.h:109: error: expected declaration specifiers or '...' before 'GdkModifierType'
/usr/include/gtk/gtkaccelgroup.h:115: error: expected declaration specifiers or '...' before 'GdkModifierType'
/usr/include/gtk/gtkaccelgroup.h:125: error: expected declaration specifiers or '...' before 'GdkModifierType'
/usr/include/gtk/gtkaccelgroup.h:128: error: expected declaration specifiers or '...' before 'GdkModifierType'
/usr/include/gtk/gtkaccelgroup.h:131: error: expected declaration specifiers or '...' before 'GdkModifierType'
/usr/include/gtk/gtkaccelgroup.h:134: error: expected declaration specifiers or '...' before 'GdkModifierType'
/usr/include/gtk/gtkaccelgroup.h:140: error: expected declaration specifiers or '...' before 'GdkModifierType'
/usr/include/gtk/gtkaccelgroup.h:149: error: expected declaration specifiers or '...' before 'GdkModifierType'
/usr/include/gtk/gtkaccelgroup.h:154: error: expected declaration specifiers or '...' before 'GdkModifierType'
In file included from /usr/include/gtk/gtkwidget.h:34,
from /usr/include/gtk/gtkmisc.h:32,
from /usr/include/gtk/gtklabel.h:31,
from /usr/include/gtk/gtkaccellabel.h:34,
from /usr/include/gtk/gtk.h:33,
from /opt/sciteproj/src/gui.h:4,
from /opt/sciteproj/src/main.c:21:
/usr/include/gtk/gtkstyle.h:64: error: expected specifier-qualifier-list before 'GdkColor'
/usr/include/gtk/gtkstyle.h:112: error: expected declaration specifiers or '...' before 'GdkWindow'
/usr/include/gtk/gtkstyle.h:114: error: expected declaration specifiers or '...' before 'GdkRectangle'
/usr/include/gtk/gtkstyle.h:121: error: expected declaration specifiers or '...' before 'GdkWindow'
/usr/include/gtk/gtkstyle.h:123: error: expected declaration specifiers or '...' before 'GdkRectangle
-------------------
Hi!
Thank you for your appreciation!
Do you have a full development setup of gtk installed? This line makes me think otherwise:
/usr/include/gtk/gtk.h:31:21: error: gdk/gdk.h: No such file or directory
Seems in some way that you have gtk installed, but not gdk...
I havn't used Arch myself, but could you see if there are some gdk-related development packages that you are missing?
Also, the cmake command should really give errors on this, this is indeed a bug on my side, sorry.
You shouldn't really need to be root until the make install command. Could you try to run "cmake .." and "make" as non-priviliged user from the "build"-folder as distributed in the package, and then just the "make install" as root?
It might be that the build system is confused by the fact that you are root during the entire build operation.