LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-08-2020, 04:06 PM   #16
wayne1937
Member
 
Registered: Dec 2019
Location: United States
Posts: 148

Original Poster
Rep: Reputation: Disabled

Quote:
Originally Posted by scdbackup View Post
Hi,

You need the "...-devel" packages of the libraries.
Code:
  XDT_CHECK_PACKAGE([GTHREAD], [gthread-2.0], [2.6.0])
  /usr/lib/pkgconfig/gthread-2.0.pc
  https://rpmfind.net/linux/RPM/centos/6.10/x86_64/Packages/glib2-devel-2.28.8-10.el6.i686.html
This looks like you won't get it in CentOS 6:
Code:
  XDT_CHECK_PACKAGE([GTK], [gtk+-3.0], [3.20])
There is only:
Code:
  /usr/lib64/pkgconfig/gtk+-2.0.pc
  https://rpmfind.net/linux/RPM/centos/6.10/x86_64/Packages/gtk2-devel-2.24.23-9.el6.x86_64.html
Here the upstrem version 0.11.0 seems newer than 0.6.2:
Code:
  XDT_CHECK_PACKAGE([EXO], [exo-0.3], [0.11.0], [], [XDT_CHECK_PACKAGE([EXO], [exo-2], [0.11.0])])
  /usr/lib/pkgconfig/exo-1.pc
  https://centos.pkgs.org/6/epel-x86_64/exo-devel-0.6.2-2.el6.x86_64.rpm.html
--------------------------------------------------------------------------

Several years ago i had to get Xfburn running on a SuSE that was too old
to provide the necessary libraries. It lasted a while and i had to delete
several code passages which demanded unavailable library functions.
In the end it was enough to find out which code parts needed to be adapted
so that it used libburn's capability to burn Blu-ray media.
At that time Xfburn still had a maintainer who then took my proposals and
properly inserted them.

From that experience i can tell that it is no picknick to get a modern GUI
program running on an outdated system.

What is your intended use case ?
Can't you just settle with xorriso ?
(You should be able to build xorriso from the GNU xorriso source tarball.
Tcl/Tk would be needed if you'd want to use GUI frontend xorriso-tcltk.)


Have a nice day

Thomas
Hi Thomas

My intended case was a simple desire to simply compile a simple first source code. However, as it turns out, I've benefited enormously from a tutorial by Thomas.
Thank you for that.

It's been great fun chasing the nefarious xfburn with guidance.

I down loaded xfburn source version 0.5.5 attempted ./ machine glib 2.28.8 to old needs glib 2.32 or greater.

xorriso sounds like the real deal.

BTW:
When an application is installed outside a machine package manager is there a safe procedure to uninstall ?

Last edited by wayne1937; 01-08-2020 at 04:10 PM.
 
Old 01-08-2020, 04:55 PM   #17
scdbackup
Member
 
Registered: Oct 2013
Posts: 158

Rep: Reputation: Disabled
Hi,

> My intended case was a simple desire to simply compile a simple first
> source code.

Ouch. You only got a medium sized dependency tree. Let's count fixely linked
dynamic libraries (there are other link methods which ldd does not show):
Code:
$ ldd /usr/bin/xfburn | wc -l
70
$ ldd /usr/bin/brasero | wc -l
118
$ ldd /usr/bin/k3b | wc -l
132
The linked libraries of GNU xorriso are
Code:
$ ldd /usr/bin/xorriso | awk '{ print $1 }' 
linux-vdso.so.1
libpthread.so.0
libbz2.so.1.0
libz.so.1
libacl.so.1
libreadline.so.6
libc.so.6
/lib64/ld-linux-x86-64.so.2
libattr.so.1
libtinfo.so.5
Available as
https://www.gnu.org/software/xorriso...o-1.5.2.tar.gz
Prerequisites and compilation are described in
https://www.gnu.org/software/xorriso/README_xorriso
GNU xorriso installs no libraries. So it will compete only with your package
manager's xorriso binary but not with libburn or libisofs.

The dynamically linked variant from libisoburn does not include its own copies
of libburn, libisofs, libjte, and libisoburn:
Code:
$ ldd /usr/bin/xorriso-debian | awk '{ print $1 }'
linux-vdso.so.1
libisoburn.so.1
libisofs.so.6
libburn.so.4
libpthread.so.0
libjte.so.1
libz.so.1
libacl.so.1
libreadline.so.6
libc.so.6
libjte.so.2
/lib64/ld-linux-x86-64.so.2
libbz2.so.1.0
libattr.so.1
libtinfo.so.5
Interesting is that libjte.so.2 snuggles into xorriso-debian although only
libjte.so.1 was present when it was built. Wonders of dynamic linking.

If you want to build the dynamic xorriso, you need the libraries from
http://files.libburnia-project.org/releases/
which gives instructions for verification, unpacking, and compilation.
xorriso gets built and installed by libisoburn.
Installation will compete with your package manager's installation.
So you better uninstall the CentOS versions of the libraries before installing
the newly built ones.


> When an application is installed outside a machine package manager is
> there a safe procedure to uninstall ?

This depends much on the package and its developer.
A standard autotools generated "make" interface should offer
Code:
make install
make uninstall
Have a nice day

Thomas
 
1 members found this post helpful.
Old 01-08-2020, 06:17 PM   #18
wayne1937
Member
 
Registered: Dec 2019
Location: United States
Posts: 148

Original Poster
Rep: Reputation: Disabled
WOW! Fantastic road map.

Regards :-)
 
Old 01-09-2020, 02:45 PM   #19
wayne1937
Member
 
Registered: Dec 2019
Location: United States
Posts: 148

Original Poster
Rep: Reputation: Disabled
Hello Thomas :-)

I'll be busy in the study and implementation of direction and copious information
receved from you these past few days. No doubt I'll have questions, however, I'll Slog about for awhile to see what I can make of it.

Regards

Wayne
 
Old 01-11-2020, 09:38 AM   #20
wayne1937
Member
 
Registered: Dec 2019
Location: United States
Posts: 148

Original Poster
Rep: Reputation: Disabled
Thomas

Building Dynamic xorriso: What is the meaning of extensions tar.asc and tar.sig ? Are these tar files to be used in some way in regards to dynamic xorriso ?

Regards

Wayne
///////////////////////////////////////////////////////////////////////////////////

If you want to build the dynamic xorriso, you need the libraries from
http://files.libburnia-project.org/releases/

libburn-1.5.2.pl01.tar.gz 25-Nov-2019 18:46 989073
libburn-1.5.2.pl01.tar.gz.asc 25-Nov-2019 19:15 230
libburn-1.5.2.pl01.tar.gz.sig 25-Nov-2019 19:15 72
libburn-1.5.2.tar.gz 26-Oct-2019 15:21 988375
libburn-1.5.2.tar.gz.asc 27-Oct-2019 14:59 230
libburn-1.5.2.tar.gz.sig 27-Oct-2019 14:59 72
 
Old 01-11-2020, 09:57 AM   #21
wayne1937
Member
 
Registered: Dec 2019
Location: United States
Posts: 148

Original Poster
Rep: Reputation: Disabled
Thomas:

Prerequisites:
The tarball contains everything that is needed except the following system
components:

libc, libpthread they don't exist on this machine nor are they available to be installed - says the repos on this machine. ????

Regards :-)

Wayne
 
Old 01-11-2020, 10:49 AM   #22
scdbackup
Member
 
Registered: Oct 2013
Posts: 158

Rep: Reputation: Disabled
Hi,

> What is the meaning of extensions tar.asc and tar.sig ?

They are PGP signatures which confirm the original content of the .tar.gz
files.

https://dev.lovelyhq.com/libburnia/web/-/wikis/Releases
proposes (with "libburn-1.5.2.pl01" as "lib...x.y.z"):
Code:
gpg --keyserver keys.gnupg.net --recv-keys ABC0A854
gpg --verify libburn-1.5.2.pl01.tar.gz.sig libburn-1.5.2.pl01.tar.gz
which then must say among other statements
Code:
gpg: Good signature from "Thomas Schmitt <scdbackup@gmx.net>"
Primary key fingerprint: 44BC 9FD0 D688 EB00 7C4D  D029 E9CB DFC0 ABC0 A854
The "fingerprint" must match this string, or else somebody is manipulating
the signature. More likely would be an unintentional transport damage, which
would show up as
Code:
gpg: BAD signature from "Thomas Schmitt <scdbackup@gmx.net>"
.asc is a printable form of .sig created by gpg options --armor or --enarmor.


> libc, libpthread they don't exist on this machine

It is unlikely that they don't exist. Package names might differ ("glibc").
See
https://www.linuxquestions.org/quest...c-glibc-49709/
libpthread might be part of libc.
https://centos.pkgs.org/6/centos-x86...86_64.rpm.html
says so about "libpthread.so.0()(64bit)".

Just let the ./configure scripts of the tarballs judge. If they run without
error then they found what is needed.


Have a nice day

Thomas
 
1 members found this post helpful.
Old 01-11-2020, 11:26 AM   #23
wayne1937
Member
 
Registered: Dec 2019
Location: United States
Posts: 148

Original Poster
Rep: Reputation: Disabled
Thomas :-)


As a proof of concept, there is the Tcl/Tk script xorriso-tcltk which can
be launched by this shell command:

xorriso-tcltk

The result is:

[Delano@Gateway-CentOS-6 ~]$ xorriso-tcltk

bash: /usr/bin/xorriso-tcltk: /usr/bin/wish: bad interpreter: No such file or directory

This machine shows this to be true: /usr/bin/xorriso-tcltk

What does this command produce produce ?
 
Old 01-11-2020, 01:52 PM   #24
scdbackup
Member
 
Registered: Oct 2013
Posts: 158

Rep: Reputation: Disabled
Hi,

> bash: /usr/bin/xorriso-tcltk: /usr/bin/wish: bad interpreter: No such file or directory

That's a Tcl/Tk based frontend which is mainly a demonstration how xorriso
can be used as slave process of a GUI program. (What can be programmed in Tcl
can be programmed in any language.)
https://www.gnu.org/software/xorriso...ltk-screen.gif

You need Tcl, Tk, and optional bwidget (for the the file browser buttons [/]).
https://centos.pkgs.org/6/centos-x86...86_64.rpm.html
https://centos.pkgs.org/6/centos-x86...86_64.rpm.html
https://centos.pkgs.org/6/centos-x86...oarch.rpm.html

Have a nice day

Thomas
 
1 members found this post helpful.
Old 01-11-2020, 02:42 PM   #25
wayne1937
Member
 
Registered: Dec 2019
Location: United States
Posts: 148

Original Poster
Rep: Reputation: Disabled
Thomas,

Thanks for the explanation and direction. There is an amazing amount of detail to be aware of when putting together a workable program. I think I've moved from wanting to compile an existing source code into wanting to understand the nuances of putting togeather source code. I've taken an interest in reading the INSTALL and READ files for xorriso, however, in doing so it becomes clear there is a need for great understanding if one is to survive the source code process :-)


Regards

Wayne
 
Old 01-11-2020, 03:27 PM   #26
scdbackup
Member
 
Registered: Oct 2013
Posts: 158

Rep: Reputation: Disabled
Hi,

well, for an own software project you need a plan, choose a programming
language ( http://crashworks.org/if_programming...were_vehicles/ ),
maybe a development environment (e.g. Eclipse) or a build framework
(e.g. autotools). If you want to be taken serious by other programmers then
you need a public code repository (e.g. GitLab or sourceforge).

If it is rather about gathering experience about building free software on
your own, you could use a a build-it-yourself GNU/Linux distro like Gentoo
or Linux From Scratch.

Have a nice day

Thomas
 
1 members found this post helpful.
Old 01-11-2020, 04:03 PM   #27
wayne1937
Member
 
Registered: Dec 2019
Location: United States
Posts: 148

Original Poster
Rep: Reputation: Disabled
Thomas,

I like your suggestion; Gentoo and/or Linux from scratch would seem an excellent place to start.

Last edited by wayne1937; 01-11-2020 at 05:00 PM.
 
Old 01-11-2020, 04:34 PM   #28
ehartman
Senior Member
 
Registered: Jul 2007
Location: Delft, The Netherlands
Distribution: Slackware
Posts: 1,674

Rep: Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888
Quote:
Originally Posted by wayne1937 View Post
/usr/bin/wish: bad interpreter: No such file or directory
wish is a simple windowing shell, which normally should have come with your tk package.
There is a tclsh "shell" too, which unlike wish is textmode only.
Quote:
Wish is a simple program consisting of the Tcl command language, the Tktoolkit, and a main program that reads commands from standard input or from a file. It creates a main window and then processes Tcl commands.

Tclsh is a shell-like application that reads Tcl commands from its standard input or from a file and evaluates them.
Your application seems to want to process some tcl/tk commands and thus is looking for wish to do so.
 
1 members found this post helpful.
Old 01-11-2020, 04:55 PM   #29
wayne1937
Member
 
Registered: Dec 2019
Location: United States
Posts: 148

Original Poster
Rep: Reputation: Disabled
ehartman,

One more area of study required:-)
 
Old 01-11-2020, 05:46 PM   #30
wayne1937
Member
 
Registered: Dec 2019
Location: United States
Posts: 148

Original Poster
Rep: Reputation: Disabled
Thomas,


After install binary may be executed at CLI by superuser. What is suppose to happen when xorriso is typed at CLI ?

This will produce a binary named
./xorriso/xorriso

You may copy or move it to a directory where it can be found by the shell,
or you may execute xorriso at the place where it was built,
or you may execute as superuser:
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] XFburn, Slackware 13 64bit, "error while loading shared libraries: libburn.so.4" fearfactory Linux - Software 1 05-16-2010 08:30 PM
xfburn keeps crashing richard.donavan Linux - Software 1 11-27-2009 04:57 PM
[SOLVED] xfburn keeps crashing on slackware 13 64 hoodooman Slackware 2 11-13-2009 12:55 PM
Slackbuild XFburn - What order do I install related files 12.1 NightSky Slackware 7 10-14-2009 11:11 PM
XFburn - slow start when burning audio cd samac Slackware 2 09-28-2009 05:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration