TeXStudio on SLED-11 SP2

Hi,

I wanted to use TexStudio as my latex editor on SLED-11 SP2 and on their web site they don’t have a package for SLED-11 so I downloaded the one intended for OpenSuSe 11.4 and installed it successfully with no problems.

However when I try to run it in the terminal I get the below error

texstudio: symbol lookup error: texstudio: undefined symbol: _ZN9QMetaType15registerTypedefEPKci

Is there a way to get texstudio to work on SLED? if not, is there any other LaTex editors that you can recommend?

Thanks,
Ahmed

Hi
You could ask the Publishing maintainers (click on the users link) if they would fix the spec file (they need to add update-desktop-files as a build requires and add the %suse_update_desktop_file macro) on the Open Build Service and enable the SLE 11 SP2 repo?
https://build.opensuse.org/package/show?project=Publishing&package=texstudio

Else texlive may be on the SLE 11 SP2 SDK (it is for SP3).

I was looking at TeXStudio recently for SLED 11 SP3. I don’t ‘do’ TeX, but I manage machines for people who do.

I couldn’t find an rpm that worked for me so I worked out how to build it from source, more notes are below if you want to give it a go. You’ll need some packages from the SDK. Links to various versions of the SDK can be found via https://forums.suse.com/content.php?121-SUSE-Linux-Enterprise-SDK-downloads

Need packages: libpoppler-devel libpoppler-qt4-devel libqt4-devel

Build docs are at http://sourceforge.net/p/texstudio/wiki/Compiling/

To install without root to /tmp/opt

Unpack source, run ./Build.sh

Enter desire prefix: /tmp/opt

Accept other default answers

The install will fail because despite you having specified a prefix, the installer will still try and put some things in to /usr/share/appdata/. Edit Makefile then re-run the install

$ sed -i 's!$(INSTALL_ROOT)/usr/share/appdata/!/tmp/opt/share/appdata/!g' Makefile $ make install
Note the sed command needs changing if you’re not using /tmp/opt

Run with

$ /tmp/opt/bin/texstudio

Some tests fail, but apparently these are known fails
http://sourceforge.net/p/texstudio/mailman/message/32472222/

There’s a packaging of TeXworks (http://www.tug.org/texworks/) for SLE-11 SP3 available at http://software.opensuse.org/package/texworks (click ‘Show other versions’)

SLED 11 SP2 is out of general support. Unless you’ve purchased Long Term Service Pack Support now would be a good time to update to SP3.

Thanks a lot. I followed your steps and Texstudio works now

For SP3 migration, I tried some time ago and just now once again to migrate to SP3 but it fails due to conflicts!

I recall posting it on the forum to get some recommendation and the advice I got was to check with HP because I’m using a specialized HP version or something like that.

The SLED I’m using came pre-installed with an HP laptop

Have you tried migrating to SP3 on HP laptops?

Thanks once again

[QUOTE=mikewillis;22764]I was looking at TeXStudio recently for SLED 11 SP3. I don’t ‘do’ TeX, but I manage machines for people who do.

I couldn’t find an rpm that worked for me so I worked out how to build it from source, more notes are below if you want to give it a go. You’ll need some packages from the SDK. Links to various versions of the SDK can be found via https://forums.suse.com/content.php?121-SUSE-Linux-Enterprise-SDK-downloads

Need packages: libpoppler-devel libpoppler-qt4-devel libqt4-devel

Build docs are at http://sourceforge.net/p/texstudio/wiki/Compiling/

To install without root to /tmp/opt

Unpack source, run ./Build.sh

Enter desire prefix: /tmp/opt

Accept other default answers

The install will fail because despite you having specified a prefix, the installer will still try and put some things in to /usr/share/appdata/. Edit Makefile then re-run the install

$ sed -i 's!$(INSTALL_ROOT)/usr/share/appdata/!/tmp/opt/share/appdata/!g' Makefile $ make install
Note the sed command needs changing if you’re not using /tmp/opt

Run with

$ /tmp/opt/bin/texstudio

Some tests fail, but apparently these are known fails
http://sourceforge.net/p/texstudio/mailman/message/32472222/

There’s a packaging of TeXworks (http://www.tug.org/texworks/) for SLE-11 SP3 available at http://software.opensuse.org/package/texworks (click ‘Show other versions’)

SLED 11 SP2 is out of general support. Unless you’ve purchased Long Term Service Pack Support now would be a good time to update to SP3.[/QUOTE]

That would be this post
https://forums.suse.com/showthread.php?4262-Something-is-wrong-with-the-YaST-user-interface&p=19910#post19910
Which shows there is a dependency issue with a HP specific package.

Did you ask HP?

I’ve never dealt with SLED as it’s shipped by HP or SLED on HP laptops. To be honest I’ve never really got to grips with what the deal is regarding HP pre-loading SLED and how they subsequently support it.

[QUOTE=mikewillis;22787]That would be this post
https://forums.suse.com/showthread.php?4262-Something-is-wrong-with-the-YaST-user-interface&p=19910#post19910
Which shows there is a dependency issue with a HP specific package.

Did you ask HP?

I’ve never dealt with SLED as it’s shipped by HP or SLED on HP laptops. To be honest I’ve never really got to grips with what the deal is regarding HP pre-loading SLED and how they subsequently support it.[/QUOTE]

I didn’t do it so far. I just kept things going as it is.

Maybe it is time to ask them :slight_smile:

Thanks,
Ahmed