Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Closed Thread
 
Thread Tools Search this Thread
Old 09-25-2014, 05:55 PM   #46
varlog
actually it is /var/log
varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.
 
varlog's Avatar
 
Posts: 341
Karma: 2994236
Join Date: Sep 2012
Location: usually Europa
Device: prs t1
Quote:
Originally Posted by DiapDealer View Post
Do you mean that you've set your install prefix to the same directory as the build directory (where you first issue the cmake command)?
Yes, of course I did. I do all my compiling things locally. I don't issue cmake command, I let Qt Creator make it:
Code:
cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=/home/varlog/gits/Sigil-build -DCMAKE_BUILD_TYPE=Debug /home/varlog/gits/Sigil -DCMAKE_PREFIX_PATH=/opt/Qt5.3.1/5.3/gcc_64/lib/cmake
it works as promised! only /share doesn't.
varlog is offline  
Old 09-25-2014, 06:07 PM   #47
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 7,651
Karma: 5433388
Join Date: Nov 2009
Device: many
Hi,
The relevant CMake file shows the following for Linux:

install( FILES ${PLUGIN_FILES_PYTHON} DESTINATION ${CMAKE_INSTALL_PREFIX}/share/sigil/plugin_launchers/python/ )

So as long as Linux install defaults to create any missing directories in the path, this should work.
To test, simply create the required directories manually first and then see if it is properly populated. If so, then "install" might need to have -d added to it. But then the other directories used should have the same problems so I am guessing here.

KevinH
KevinH is offline  
Advert
Old 09-25-2014, 06:18 PM   #48
varlog
actually it is /var/log
varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.
 
varlog's Avatar
 
Posts: 341
Karma: 2994236
Join Date: Sep 2012
Location: usually Europa
Device: prs t1
Quote:
Originally Posted by KevinH View Post
Hi,
The relevant CMake file shows the following for Linux:

install( FILES ${PLUGIN_FILES_PYTHON} DESTINATION ${CMAKE_INSTALL_PREFIX}/share/sigil/plugin_launchers/python/ )

So as long as Linux install defaults to create any missing directories in the path, this should work.
To test, simply create the required directories manually first and then see if it is properly populated. If so, then "install" might need to have -d added to it. But then the other directories used should have the same problems so I am guessing here.

KevinH
yes, I've seen "install( FILES ${PLUGIN_FILES_PYTHON} DESTINATION ${CMAKE_INSTALL_PREFIX}/share/sigil/plugin_launchers/python/ )" in CMakeList.txt... I'm trying with folders created... nope .
varlog is offline  
Old 09-25-2014, 06:33 PM   #49
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 27,552
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
After Qt Creator builds the project, how does it get installed? Those files in the install prefix won't get created unless something actually issues the "make install" command. That folder structure doesn't get created in the normal build phase.

Just pulled a fresh copy from github, and all I can say is ... everything works as expected using the cmake, make, make install process. All files are copied to my install prefix--whether using the default /usr/local or specifying a custom one with -DCMAKE_INSTALL_PREFIX.

Last edited by DiapDealer; 09-25-2014 at 06:36 PM.
DiapDealer is offline  
Old 09-25-2014, 06:46 PM   #50
varlog
actually it is /var/log
varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.
 
varlog's Avatar
 
Posts: 341
Karma: 2994236
Join Date: Sep 2012
Location: usually Europa
Device: prs t1
Quote:
Originally Posted by DiapDealer View Post
After Qt Creator builds the project, how does it get installed? Those files in the install prefix won't get created unless something actually issues the "make install" command. That folder structure doesn't get created in the normal build phase.

Just pulled a fresh copy from github, and all I can say is ... everything works as expected using the cmake, make, make install process. All files are copied to my install prefix--whether using the default /usr/local or specifying a custom one with -DCMAKE_INSTALL_PREFIX.
hmm, interesting... there is this:
Code:
if( UNIX AND NOT APPLE )
    install( TARGETS ${PROJECT_NAME} RUNTIME DESTINATION ${CMAKE_INSTALL_PREFIX}/bin/ )
    install( FILES ${LINUX_DESKTOP_FILE} DESTINATION ${CMAKE_INSTALL_PREFIX}/share/applications/ )
    install( FILES ${LINUX_DESKTOP_ICON_FILE} DESTINATION ${CMAKE_INSTALL_PREFIX}/share/pixmaps RENAME sigil.png )
    install( FILES ${QM_FILES} DESTINATION ${CMAKE_INSTALL_PREFIX}/share/sigil/translations/ )
    install( FILES ${DIC_FILES} DESTINATION ${CMAKE_INSTALL_PREFIX}/share/sigil/hunspell_dictionaries/ )
    install( FILES ${PLUGIN_FILES_PYTHON} DESTINATION ${CMAKE_INSTALL_PREFIX}/share/sigil/plugin_launchers/python/ )
    install( FILES ${EXAMPLE_FILES} DESTINATION ${CMAKE_INSTALL_PREFIX}/share/sigil/examples/ )
endif()
in CMakeList.txt.
bin/ is created, lib/ is there...(?!) share/ is not. Qt Creator bug?

will try it manually - but not today...

Last edited by varlog; 09-25-2014 at 06:49 PM.
varlog is offline  
Advert
Old 09-25-2014, 06:50 PM   #51
user_none
Sigil & calibre developer
user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.
 
user_none's Avatar
 
Posts: 2,488
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
Quote:
Originally Posted by varlog View Post
hmm, interesting... there is this:
...
in CMakeList.txt.
bin/ is created, lib/ is there...(?!) share/ is not. Qt Creator bug?
Did you manually run "make install" ?

QtCreator will not run that for you by default when you build. You must run "make install" for that section to apply. The lib and build directories are created by the build process for the build.

Install is a different target. The bin and lib dirs in the install target are completely different. You should not install into your build dir root either. You'll run into all kinds of problems because you're going to have files in bin trying to be installed into bin. Use a dir under build like "inst" as your install target.
user_none is offline  
Old 09-25-2014, 07:00 PM   #52
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 27,552
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by varlog View Post
hmm, interesting... there is this:
Yes. That's the entirety of what creates the "install" make target.

Quote:
bin/ is created, lib/ is there...(?!) share/ is not. Qt Creator bug?
Not sure. Never really been tempted to use it, to tell the truth. By the time I figure out how to create a new project and get all the options set correctly, I could already be done with manual compile process and be playing with the program.

EDIT: I see user_none has already determined that Qt Creator does not issue the make install command.
DiapDealer is offline  
Old 09-25-2014, 07:02 PM   #53
varlog
actually it is /var/log
varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.
 
varlog's Avatar
 
Posts: 341
Karma: 2994236
Join Date: Sep 2012
Location: usually Europa
Device: prs t1
Quote:
Originally Posted by user_none View Post
Did you manually run "make install" ?

QtCreator will not run that for you by default when you build. You must run "make install" for that section to apply. The lib and build directories are created by the build process for the build.

Install is a different target. The bin and lib dirs in the install target are completely different. You should not install into your build dir root either. You'll run into all kinds of problems because you're going to have files in bin trying to be installed into bin. Use a dir under build like "inst" as your install target.
must have been obvious, humm? thanks.
varlog is offline  
Old 09-25-2014, 07:12 PM   #54
varlog
actually it is /var/log
varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.
 
varlog's Avatar
 
Posts: 341
Karma: 2994236
Join Date: Sep 2012
Location: usually Europa
Device: prs t1
Quote:
Originally Posted by DiapDealer View Post
Not sure. Never really been tempted to use it, to tell the truth. By the time I figure out how to create a new project and get all the options set correctly, I could already be done with manual compile process and be playing with the program.
I can only say that without Qt Creator I won't be doing it at all. Very nice development environment for Qt.
varlog is offline  
Old 09-25-2014, 09:34 PM   #55
user_none
Sigil & calibre developer
user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.
 
user_none's Avatar
 
Posts: 2,488
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
Quote:
Originally Posted by varlog View Post
I can only say that without Qt Creator I won't be doing it at all. Very nice development environment for Qt.
Vim is all you need ;-).
user_none is offline  
Closed Thread


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Smashwords: direct epub upload in alpha testing avantman42 Writers' Corner 15 01-01-2013 05:19 PM
Android Xobni for Android coming soon - Sign up today for Alpha testing guyjack enTourage Archive 4 04-09-2011 02:27 PM
Alpha 700 = 8.9" 1024x600 LCD + E-Reader = $219 Sonist News 31 03-22-2010 12:46 PM
Book Designer iLiad module is ready for testing vvv iRex 16 09-21-2006 12:57 PM
So is the Iliad really production ready and is the market ready for e-readers? pdam iRex 28 09-14-2006 05:24 PM


All times are GMT -4. The time now is 04:54 AM.


MobileRead.com is a privately owned, operated and funded community.