Re: [Texmacs-dev] QTMsockets.hpp not found???

2015-06-10 Thread Miguel de Benito Delgado

 On 10 Jun, 2015, at 00:43, Karl Hegbloom karl.hegbl...@gmail.com wrote:
 
 So is it something inside of QT that's spinning in a loop when it ought to be 
 blocked waiting for an event from the operating system instead? I wonder if 
 the best solution involves patching QT?
 
I don’t think the problem lies with Qt. After all its socket libraries are used 
in thousands of projects. It might be how pipes are used in TeXmacs’ internal 
loop (polled as opposed to using signals/threads whatever). Things used to work 
before both under MacOS and Linux, I’m not sure what it is that was supposed to 
be fixed by the recent patches, maybe the windows version?
 Does it do that high cpu usage thing when compiled with QT under other 
 operating systems, or only on Linux? Should --enable-qt imply 
 --enable-qtpipes or not? When qt but not qtpipes perhaps it ought to work 
 like it did before with that define commented off?
 
Apparently —enable-qtpipes now can’t be fixed with the //#define hack (see 
Philipp’s email)
 I tried to compile with --disable-qt and it fails with errors concerning 
 redefinition of operator new and operator delete.
 
Hmm… I recall having this issue at some point… It should work, though.
 I wish I had more time to really learn the TeXmacs source and to try and 
 help. I'm in the middle of lawsuits pro per using TeXmacs for court document 
 production. They look great. I hope it helps my case.
 
Good luck!
—
Miguel de Benito.
___
Texmacs-dev mailing list
Texmacs-dev@gnu.org
https://lists.gnu.org/mailman/listinfo/texmacs-dev


Re: [Texmacs-dev] QTMsockets.hpp not found???

2015-06-08 Thread Miguel de Benito Delgado
Hi,

 there was a typo: it should have been #include QTMSockets.hpp. It's
fixed now, thanks.

Best,

--
Miguel de  Benito.

On Sun, Jun 7, 2015 at 11:31 PM, Karl Hegbloom karl.hegbl...@gmail.com
wrote:

 Ever since a few days ago, I can't get TeXmacs to compile. I've tried with
 a fresh checkout from svn, and get the same result. What's weird is that
 the not found file is sitting right there, and every other file in the
 directory builds perfectly, so it's not an -I option missing.

 make[1]: Entering directory
 '/home/karlheg/src/TeXmacs/texmacs-svn-trunk/src'
 mkdir -p src/Deps
 mkdir -p src/Objects
 mkdir -p TeXmacs/bin
 mkdir -p TeXmacs/lib
 cd src; make -r -f makefile link=shared
 make[2]: Entering directory
 '/home/karlheg/src/TeXmacs/texmacs-svn-trunk/src/src'
 g++ -ISystem -ISystem/Boot -ISystem/Classes -ISystem/Files -ISystem/Link
 -ISystem/Misc -ISystem/Language -IKernel/Abstractions -IKernel/Containers
 -IKernel/Types -IData/Convert -IData/Drd -IData/History -IData/Observers
 -IData/Document -IData/String -IData/Tmfs -IData/Tree -IScheme
 -IGraphics/Bitmap_fonts -IGraphics/Fonts -IGraphics/Gui
 -IGraphics/Mathematics -IGraphics/Renderer -IGraphics/Handwriting
 -IGraphics/Types -IGraphics/Pictures -IGraphics/Spacial -IGraphics/Colors
 -IPlugins -ITexmacs -ITexmacs/Data -IEdit -ITypeset -IPlugins/Qt -m64 -pipe
 -O2 -Wall -W -D_REENTRANT -pthread -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB
 -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I.
 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I.
 -I. -DQTTEXMACS -Wall -Wno-return-type -fno-rtti -ggdb -c
 ./Plugins/Qt/QTMSockets.cpp -o Objects/QTMSockets.o
 ./Plugins/Qt/QTMSockets.cpp:12:26: fatal error: QTMsockets.hpp: No such
 file or directory
  #include QTMsockets.hpp
   ^
 compilation terminated.
 makefile:342: recipe for target 'Objects/QTMSockets.o' failed
 make[2]: *** [Objects/QTMSockets.o] Error 1
 make[2]: Leaving directory
 '/home/karlheg/src/TeXmacs/texmacs-svn-trunk/src/src'
 Makefile:56: recipe for target 'TEXMACS' failed
 make[1]: *** [TEXMACS] Error 2
 make[1]: Leaving directory
 '/home/karlheg/src/TeXmacs/texmacs-svn-trunk/src'

 --
 karl.hegbl...@gmail.com
 http://karlhegbloom.blogspot.com


 ___
 Texmacs-dev mailing list
 Texmacs-dev@gnu.org
 https://lists.gnu.org/mailman/listinfo/texmacs-dev


___
Texmacs-dev mailing list
Texmacs-dev@gnu.org
https://lists.gnu.org/mailman/listinfo/texmacs-dev


[Texmacs-dev] QTMsockets.hpp not found???

2015-06-07 Thread Karl Hegbloom
Ever since a few days ago, I can't get TeXmacs to compile. I've tried with
a fresh checkout from svn, and get the same result. What's weird is that
the not found file is sitting right there, and every other file in the
directory builds perfectly, so it's not an -I option missing.

make[1]: Entering directory
'/home/karlheg/src/TeXmacs/texmacs-svn-trunk/src'
mkdir -p src/Deps
mkdir -p src/Objects
mkdir -p TeXmacs/bin
mkdir -p TeXmacs/lib
cd src; make -r -f makefile link=shared
make[2]: Entering directory
'/home/karlheg/src/TeXmacs/texmacs-svn-trunk/src/src'
g++ -ISystem -ISystem/Boot -ISystem/Classes -ISystem/Files -ISystem/Link
-ISystem/Misc -ISystem/Language -IKernel/Abstractions -IKernel/Containers
-IKernel/Types -IData/Convert -IData/Drd -IData/History -IData/Observers
-IData/Document -IData/String -IData/Tmfs -IData/Tree -IScheme
-IGraphics/Bitmap_fonts -IGraphics/Fonts -IGraphics/Gui
-IGraphics/Mathematics -IGraphics/Renderer -IGraphics/Handwriting
-IGraphics/Types -IGraphics/Pictures -IGraphics/Spacial -IGraphics/Colors
-IPlugins -ITexmacs -ITexmacs/Data -IEdit -ITypeset -IPlugins/Qt -m64 -pipe
-O2 -Wall -W -D_REENTRANT -pthread -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB
-DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I.
-I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I.
-I. -DQTTEXMACS -Wall -Wno-return-type -fno-rtti -ggdb -c
./Plugins/Qt/QTMSockets.cpp -o Objects/QTMSockets.o
./Plugins/Qt/QTMSockets.cpp:12:26: fatal error: QTMsockets.hpp: No such
file or directory
 #include QTMsockets.hpp
  ^
compilation terminated.
makefile:342: recipe for target 'Objects/QTMSockets.o' failed
make[2]: *** [Objects/QTMSockets.o] Error 1
make[2]: Leaving directory
'/home/karlheg/src/TeXmacs/texmacs-svn-trunk/src/src'
Makefile:56: recipe for target 'TEXMACS' failed
make[1]: *** [TEXMACS] Error 2
make[1]: Leaving directory '/home/karlheg/src/TeXmacs/texmacs-svn-trunk/src'

-- 
karl.hegbl...@gmail.com
http://karlhegbloom.blogspot.com
___
Texmacs-dev mailing list
Texmacs-dev@gnu.org
https://lists.gnu.org/mailman/listinfo/texmacs-dev