Can't build the sources

Bug #1518795 reported by Félix Brezo
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Writer
New
Undecided
Unassigned

Bug Description

I followed the instructions as follows:

# Dependencies
sudo apt-get build-dep scratch-text-editor
# Getting the sources as stated in the INSTALL file
bzr branch lp:writer
# CD-ing in the folder
cd writer
mkdir install
cd install
cmake .. -DCMAKE_INSTALL_PREFIX=/usr/
make

Unfortunately, I got the following:

Linking C executable writer
CMakeFiles/writer.dir/src/Widgets/TableChooser.c.o: En la función `writer_widgets_table_chooser_setup_ui':
/home/<USER>/Proyectos/writer/writer/install/src/Widgets/TableChooser.c:146: referencia a `gtk_label_set_xalign' sin definir
/home/<USER>/Proyectos/writer/writer/install/src/Widgets/TableChooser.c:150: referencia a `gtk_label_set_xalign' sin definir
/home/<USER>/Proyectos/writer/writer/install/src/Widgets/TableChooser.c:154: referencia a `gtk_label_set_xalign' sin definir
collect2: error: ld returned 1 exit status
make[2]: *** [writer] Error 1
make[1]: *** [CMakeFiles/writer.dir/all] Error 2
make: *** [all] Error 2

Revision history for this message
Issame Kastite (issame-kastite) wrote :

Why version of GTK+ are you using?

gtk_label_set_xalign() is available only since 3.16 https://developer.gnome.org/gtk3/stable/GtkLabel.html#gtk-label-set-xalign

Revision history for this message
Harry (h.l) wrote :

Freya cannot update GTK+ as it would mess everything up so why write for eOS when it can't be run and installed without potentially harming the system and messing the whole granite framework up?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.