Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
SmartIndent refactoring question
MortenMacFly:
--- Quote from: killerbot on November 05, 2012, 08:10:36 pm ---today : svn up + make clean + make + sudo make install
--- End quote ---
There you go: Your error is that the autofoo build system has changed. So you need to make a full bootstrap session, or at least a make dist clean.
(Says the Linux newbie... :P)
Jenna:
I suggest not to build C::B from the sources root, but from a seperate build-folder.
That makes it easy to clean everything, if there are too many changes or the build-system is broken for other reasons.
Just a rm -rf * from inside the build-folder and everything is really clean.
killerbot:
okay, so I did :
- make distclean
- ./bootstrap
- ./configure --with-contrib-plugins=all
- make -j12
- sudo make install
==> does not make any difference
--- Code: ---Loaded 0 plugins
Scanning for plugins in /usr/local/lib64/codeblocks/plugins
Tools Plus Plugin: Registering shell type Piped Process Control
Plugin manifest could not be parsed: /usr/local/share/codeblocks/FortranSmartIndent.zip
Invalid manifest file for: SmartIndentCpp
Invalid manifest file for: HDLSmartIndent
Invalid manifest file for: PascalSmartIndent
Plugin manifest could not be parsed: /usr/local/share/codeblocks/SmartIndentHDL.zip
Invalid manifest file for: SmartIndentPython
Invalid manifest file for: LuaSmartIndent
Invalid manifest file for: PythonSmartIndent
Plugin manifest could not be parsed: /usr/local/share/codeblocks/SmartIndentPascal.zip
Invalid manifest file for: SmartIndentFortran
Loaded 59 plugins
--- End code ---
Darn autof*** :-(
killerbot:
--- Quote from: jens on November 05, 2012, 08:45:29 pm ---I suggest not to build C::B from the sources root, but from a seperate build-folder.
That makes it easy to clean everything, if there are too many changes or the build-system is broken for other reasons.
Just a rm -rf * from inside the build-folder and everything is really clean.
--- End quote ---
could you elaborate on this ?
with autotools build in a different folder ?
killerbot:
while I had "/usr/local/lib64/codeblocks/plugins/" open in dolphin,
I did ==> sudo make uninstall
==> all disappeared except :
--- Code: ----rwxr-xr-x 1 root root 1613 Nov 5 07:31 libCppSmartIndent.la
-rwxr-xr-x 1 root root 63650 Nov 5 07:31 libCppSmartIndent.so
-rwxr-xr-x 1 root root 1637 Nov 5 07:31 libFortranSmartIndent.la
-rwxr-xr-x 1 root root 38766 Nov 5 07:31 libFortranSmartIndent.so
-rwxr-xr-x 1 root root 1613 Nov 5 07:31 libHDLSmartIndent.la
-rwxr-xr-x 1 root root 47849 Nov 5 07:31 libHDLSmartIndent.so
-rwxr-xr-x 1 root root 1613 Nov 5 07:31 libLuaSmartIndent.la
-rwxr-xr-x 1 root root 38317 Nov 5 07:31 libLuaSmartIndent.so
-rwxr-xr-x 1 root root 1631 Nov 5 07:31 libPascalSmartIndent.la
-rwxr-xr-x 1 root root 39042 Nov 5 07:31 libPascalSmartIndent.so
-rwxr-xr-x 1 root root 1631 Nov 5 07:31 libPythonSmartIndent.la
-rwxr-xr-x 1 root root 38167 Nov 5 07:31 libPythonSmartIndent.so
-rwxr-xr-x 1 root root 1613 Nov 5 07:31 libXMLSmartIndent.la
-rwxr-xr-x 1 root root 43792 Nov 5 07:31 libXMLSmartIndent.so
--- End code ---
I think there's something seriously wrong with out build scripts / makefiles
EDIT : new approach starting with
- rm -rf * in trunk and svn up
- usr/local/share/codeblocks ==> manualy deleted
- usr/local/include/codeblocks ==> manualy deleted
- usr/local/lib64/codeblocks ==> manualy deleted
and then the entire chain again ......... [will paste the result .....]
FAILURE :
--- Code: ---zip -R /home/killerbot/CodeBlocks/trunk/src/plugins/contrib/SmartIndent/SmartIndentPython.zip manifest.xml
PWD=`pwd` cd . && \
cp manifest_lua.xml ./manifest.xml && \
zip -R /home/killerbot/CodeBlocks/trunk/src/plugins/contrib/SmartIndent/SmartIndentLua.zip manifest.xml
cp: cannot create regular file `./manifest.xml': File exists
adding: manifest.xml (deflated 50%)
adding: manifest.xmlmake[4]: *** [SmartIndentHDL.zip] Error 1
zip warning: file size changed while zipping manifest.xml
adding: manifest.xml (stored 0%)
(deflated 50%)
--- End code ---
damn damn damn
EDIT :
issued again : make -j12 ==> continues till the end
then issued : sudo make install : OK
and then we run it and we get (to be honest as expected :-( ) :
--- Code: ---Loaded 0 plugins
Scanning for plugins in /usr/local/lib64/codeblocks/plugins
Tools Plus Plugin: Registering shell type Piped Process Control
Invalid manifest file for: SmartIndentCpp
Invalid manifest file for: SmartIndentHDL
Invalid manifest file for: SmartIndentPython
Invalid manifest file for: SmartIndentPascal
Loaded 55 plugins
--- End code ---
There's something wrong with those SmartIndent, and it seems also not save to touch that area with a make -j12 ??
Never had any build problems before, but it seems SmartIndent is causing problems ...
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version