Make not working as expected

Bug #1395261 reported by LinX
30
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Writer
Fix Committed
Undecided
Unassigned

Bug Description

When running the make during the installation of writer gives the following error :

xd@Elementary-OS : ~/ Writer/build$ make

make [ 2 ] : *** No rule to make target ` ../src/Utils/Editor.vala ' , needed by ` src / Utils / Document.vala_valac.stamp ' . Stop .
make [ 1 ] : *** [ CMakeFiles / writer.dir / all ] Error 2
make: *** [ all] Error 2

and also with sudo of this error .

System Information :

- Elementary OS Freya ( beta1 )
- Kernel 3.17.3

Related branches

mporten (mathias-porten)
Changed in writer:
status: New → Confirmed
Revision history for this message
mporten (mathias-porten) wrote :

In CMakeFiles.txt the recent renaming has to be done, too.

mporten (mathias-porten)
Changed in writer:
status: Confirmed → In Progress
Revision history for this message
LinX (gustavoxdgame1) wrote :

after updating CmakeFiles.txt the error is as follows :

xd@Elementary-OS:~/writer/build$ make
[ 5%] Generating src/Utils/TextEditor.c;src/Utils/FileChooser.c;src/Utils/TextRange.c;src/Utils/ZeitgeistLogger.c;src/Widgets/ButtonGroup.c;src/Widgets/TextToolBar.c;src/Widgets/EditorView.c;src/Widgets/ImageToolBar.c;src/Widgets/TableChooser.c;src/Widgets/TableToolBar.c;src/Widgets/TitleBar.c;src/Widgets/ToolBar.c;src/Widgets/WelcomeView.c;src/config.c;src/Writer.c;src/MainWindow.c
warning: --save-temps has no effect when -C or --ccode is set
/home/xd/writer/src/Writer.vala:95.32-95.45: error: The type name `Utils.Document' could not be found
        public void open_file (Utils.Document doc) {
                               ^^^^^^^^^^^^^^
/home/xd/writer/src/MainWindow.vala:122.45-122.58: error: The type name `Utils.Document' could not be found
        public void set_title_for_document (Utils.Document doc) {
                                            ^^^^^^^^^^^^^^
Compilation failed: 2 error(s), 1 warning(s)
make[2]: *** [src/Utils/Document.vala_valac.stamp] Error 1
make[1]: *** [CMakeFiles/writer.dir/all] Error 2
make: *** [all] Error 2

Revision history for this message
Anthony Huben (harp37) wrote :

I have commited a branch to get closer to fixing CMake. I get the same error message, but there is little left to do.

Revision history for this message
LinX (gustavoxdgame1) wrote :

I added a fake file to CmakeList.txt
he was not reading the Document.vala and giving this error

now it works

Revision history for this message
LinX (gustavoxdgame1) wrote :

I added a fake file to CmakeList.txt
he was not reading the Document.vala and giving this error

now it works

Changed in writer:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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