Forums :: NEW! Web Resources :: Features :: Photo Gallery :: Vintage Radio Shows :: Archives
Support This Site: Contributors :: Advertise


It is currently Oct Wed 20, 2021 3:42 pm


All times are UTC [ DST ]





Post New Topic Post Reply  [ 34 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: Linux Mint package installation questions
PostPosted: Sep Mon 13, 2021 5:28 pm 
Member
User avatar

Joined: Feb Sun 01, 2015 6:23 pm
Posts: 1562
Macrohenry wrote:
poorguy wrote:
Back in the early days of Linux you had to compile source code and actually build packages not that way nowadays.


If that would be the case, then I could have saved myself hours and hours trying to install this. If you would like to prove your statement I welcome you to install EOS Movie Recorder in the method that you are describing, that is, without having to compile it.

That being said, there is one distribution that some guy has come up with to install it. But it's on an untrusted site, and I do not want to install software from untrusted sites.

Why would I want to install software on my computer that I will never use.

If what you installed ain't working than find an alternative.

If the oem of the software doesn't keep it's software up to date for Linux than that would tell me all I need to know about them and their software.

I'm sure there are plenty of other movie recorders available from the Linux Mint repository and that's where I'd look for a movie recorder.

Have you looked at this.

https://ubuntuhandbook.org/index.php/20 ... lr-ubuntu/

https://launchpad.net/~dhor/+archive/ubuntu/myway

Click on this in the above link.
Technical details about this PPA

_________________
I'm grumpy because I can be not because I'm old.


Top
 Profile  
 
 Post subject: Re: Linux Mint package installation questions
PostPosted: Sep Tue 14, 2021 4:05 am 
Member
User avatar

Joined: Jan Thu 01, 1970 1:00 am
Posts: 4955
Location: Texas
poorguy wrote:
Macrohenry wrote:
poorguy wrote:
Back in the early days of Linux you had to compile source code and actually build packages not that way nowadays.


If that would be the case, then I could have saved myself hours and hours trying to install this. If you would like to prove your statement I welcome you to install EOS Movie Recorder in the method that you are describing, that is, without having to compile it.

That being said, there is one distribution that some guy has come up with to install it. But it's on an untrusted site, and I do not want to install software from untrusted sites.

Why would I want to install software on my computer that I will never use.

If what you installed ain't working than find an alternative.

If the oem of the software doesn't keep it's software up to date for Linux than that would tell me all I need to know about them and their software.

I'm sure there are plenty of other movie recorders available from the Linux Mint repository and that's where I'd look for a movie recorder.

Have you looked at this.

https://ubuntuhandbook.org/index.php/20 ... lr-ubuntu/

https://launchpad.net/~dhor/+archive/ubuntu/myway

Click on this in the above link.
Technical details about this PPA


Appreciate you're trying to help. Both of the links that you provide are for the same repository, and these are the ones that I referred to earlier that are untrusted. Apparently a fellow saw how much trouble it was to install this so he created an installation package, but he does not put it in the typical Linux Mint repositories. Instead he created his own private repository and that's the one I don't trust.

Just to clarify, EOS movie recorder is not designed to be used for recording typical movies from some place. It's a specialty tool for astrophotographers. It simply routes the live video feed from a DSLR camera to a computer that makes a video file. Thus the astrophotographer can capture just the right fractions of a second when seeing is best for planetary photography. And he can capture hundreds of clear images as well as poor images. He runs additional software to separate the wheat from the chaff and then to stack the clearest images.

There are some other apps that do this, but they're not open source or have other problems that don't perform as well as a EOS movie recorder does in Windows. All is not lost. I can run it on my Windows 10 machine and it would do the job. I was just hoping to run it on Linux. Thanks for the suggestions.


Top
 Profile  
 
 Post subject: Re: Linux Mint package installation questions
PostPosted: Sep Tue 14, 2021 6:45 am 
Member

Joined: Jun Sun 15, 2014 5:37 pm
Posts: 1376
Location: Montreal, Quebec
Slackware has been around since 1993, so it's been a long time since yiu needed to compike except for one or two distributions (where everything is self complied). There was a longer period when people still complied there kernels, to add needed things or remove unwanted things, but onky hardcore do that now.

About 2004, I did install something from source code, but it wasn't programming, just complie it, everything was there. There was a separate library, and I vaguelyrecall it not being noticed until I ran a comand. I coukd see where the library was installed, but the main lrogram didn't see it. That's why I think majortom's comment about ldconfig is valid, some step is missed.I

It's hard to follow this case because of the install software that seems to want do it all. I think "the fix" is because the needed library was complied from source code right into the main program.

Libraries are generally standalone, like big banks of routines that any other program can use. But it has to find thise libraries, and I think a step has been missed.

That "debug" bit looks like it's compiling the library right into the program, so yku don't have to figure out the missing step after installing the library.

This us vague because I haven't done it in years. And my notes are on a previous computer. (Yes, I keep notes, so the next time I need to do the same or similar thing, I don't have to start from scratch again.)


Top
 Profile  
 
 Post subject: Re: Linux Mint package installation questions
PostPosted: Sep Thu 16, 2021 4:55 am 
Member

Joined: Apr Sun 15, 2012 3:10 pm
Posts: 1099
Location: Buffalo, NY
Is this the source code for the program your trying to install?
http://svn.code.sf.net/p/eos-movrec/code/trunk/
If so, found a PKGBUILD in the archlinux aur repository.
Looks like it is a qt4 app. qt4 is kind of old. Old enough that it was removed / deprecated from the main archlinux package manager's repository.
qt4 is still there in aur as a PKGBUILD however. I think most modern qt apps are developed in Qt5 these days. Though I saw recently they are now touting a Qt6 also :cry:
For kicks, I'll try compiling qt4 and install it. If that goes swell I'll then try compiling this program in arch, and let ya know how it goes.

As an aside, I would be one of those people that like to compile their own kernel.


Top
 Profile  
 
 Post subject: Re: Linux Mint package installation questions
PostPosted: Sep Thu 16, 2021 5:24 am 
Member

Joined: Apr Sun 15, 2012 3:10 pm
Posts: 1099
Location: Buffalo, NY
that wasn't too bad, looks like it compiled and installed OK in arch.
Although it produces a seg fault, presumably because I don't have a camera?
It did open the qt gui for an instant.
But given the segfault, thinkin there might be additional problems with this, here at least.
Code:
No cameras found!
Segmentation fault (core dumped)


Image


Last edited by majortom on Sep Thu 16, 2021 5:58 am, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Linux Mint package installation questions
PostPosted: Sep Thu 16, 2021 5:33 am 
Member

Joined: Apr Sun 15, 2012 3:10 pm
Posts: 1099
Location: Buffalo, NY
in the off chance it helps, here is the PKGBUILD I used.
https://aur.archlinux.org/packages/eos-movrec-svn/
Note that in 2015 someone commented that the SVN link in the PKGBUILD to the source had changed,
So I edited the PKGBUILD accordingly, so it knew where to go grab it from.


Top
 Profile  
 
 Post subject: Re: Linux Mint package installation questions
PostPosted: Sep Thu 16, 2021 4:57 pm 
Member
User avatar

Joined: Jan Thu 01, 1970 1:00 am
Posts: 4955
Location: Texas
Thanks. I did get the program installed, but it simply won't recognize my camera. I wonder if reinstalling it using the steps you took would cause it then to see the camera. I do know that the camera is in the list of supported cameras.


Top
 Profile  
 
 Post subject: Re: Linux Mint package installation questions
PostPosted: Sep Thu 16, 2021 11:30 pm 
Member

Joined: Apr Sun 15, 2012 3:10 pm
Posts: 1099
Location: Buffalo, NY
I am not sure, but I did notice that there is some library it's specifying in the '.pro. file for the qt project
that I didn't recognize...
snippet from the .pro project file.
Code:
INCLUDEPATH = $$EDSDKPATH/Header
LIBS += -L$$EDSDKPATH/Library \
   -ledsdk


When I went on the hunt for that last night on the net, it led me to this 'edsdk'
But all I could find then was pre compiled windows blobs (dlls)...
If you know of the legit source for that in a linux platform, I can try to install that too,
then recompile to see if that segfault goes away... Cause I definitely do not have that sdk installed here.
The compile and linking after didn't seem to complain about it not being there, which made me feel strange.
Maybe you can poke around and see if there are any references to this on Canon's site, but for linux?
I honestly haven't looked around too much, as I have no camera...

windows blobs I came across last night
https://github.com/thrixton/EDSDK.NET
this 2nd link looks more like something for linux. I just have no way of knowing what it is supposed to be using.
Having no familiarity with your camera or it's sw development.
Then again, I would think it would have been mentioned as a dependency if it was really necessary.
https://github.com/hezhao/EDSDK-cpp


Top
 Profile  
 
 Post subject: Re: Linux Mint package installation questions
PostPosted: Sep Fri 17, 2021 3:31 am 
Member

Joined: Apr Sun 15, 2012 3:10 pm
Posts: 1099
Location: Buffalo, NY
nevermind that 'edsdk', it's not needed for linux
I had this compiled successfully once, with no segfault and the gui stayed open with blinking no camera, but trying to recreate exactly what I did,
so I could repeat for you but I'm not there yet. getting closer though i think...

Code:
   Requirements

cmake-2.8.8
Qt 4.8
MinGW/MinGW-w64 (for Windows)
EDSDK-2.4 (for Windows)
libgphoto2-2.4.10 (for Linux)


Top
 Profile  
 
 Post subject: Re: Linux Mint package installation questions
PostPosted: Sep Fri 17, 2021 3:50 am 
Member

Joined: Apr Sun 15, 2012 3:10 pm
Posts: 1099
Location: Buffalo, NY
I think I got it now, I don't know if this will be any better than what you've already done but see if this flies for you...
Start from the root of your source tree, clean...

Code:
mkdir build
cd build
/* specify the source directory, and the build directory separately*\
cmake -DCMAKE_BUILD_TYPE=Debug -S .. -B ./
/* should see the Makefile, et al in this build directory now *\
ls -lah
/* make from there */
make

/* now test the built executable before installing, to check if it works*/
./eos_movrec


Image


Last edited by majortom on Sep Fri 17, 2021 12:57 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Linux Mint package installation questions
PostPosted: Sep Fri 17, 2021 4:02 am 
Member

Joined: Apr Sun 15, 2012 3:10 pm
Posts: 1099
Location: Buffalo, NY
should also mention that I used this source code here, pointed to from that PKGBUILD
https://svn.code.sf.net/p/eos-movrec/code/trunk

And that it DID compile and run OK with Qt5...
You can check the shared library objects that any executable is linked with, just like mblack was talking about
with Shared Dynamic Libraries, the system has to know where these all are...
Sometimes if things get messed up on a system, and one or more of the shared libraries aren't found,
their entry in this 'ldd' printout will be blank for a given program (see man ldd). That's just a case of dependencies not being resolved properly.
And is usually resolved by installing the library in question to satisfy the dependency, or sometimes that sudo ldconfig will be able to
find the missing link if it is something new to the system.

Code:
$ file ./eos_movrec
./eos_movrec: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=4aa20536e552e7a728b15ce2831e0fd8539066a5, for GNU/Linux 4.4.0, with debug_info, not stripped


       $ ldd ./eos_movrec
   linux-vdso.so.1 (0x00007fff79bbf000)
   libQt5Widgets.so.5 => /usr/lib/libQt5Widgets.so.5 (0x00007f576d8e0000)
   libgphoto2.so.6 => /usr/lib/libgphoto2.so.6 (0x00007f576d85a000)
   libgphoto2_port.so.12 => /usr/lib/libgphoto2_port.so.12 (0x00007f576d84c000)
   libQt5Gui.so.5 => /usr/lib/libQt5Gui.so.5 (0x00007f576d169000)
   libQt5Core.so.5 => /usr/lib/libQt5Core.so.5 (0x00007f576cc01000)
   libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f576c9eb000)
   libm.so.6 => /usr/lib/libm.so.6 (0x00007f576c8a5000)
   libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007f576c88a000)
   libc.so.6 => /usr/lib/libc.so.6 (0x00007f576c6be000)
   libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f576c69d000)
   libltdl.so.7 => /usr/lib/libltdl.so.7 (0x00007f576c691000)
   libexif.so.12 => /usr/lib/libexif.so.12 (0x00007f576c647000)
   libGL.so.1 => /usr/lib/libGL.so.1 (0x00007f576c5bf000)
   libpng16.so.16 => /usr/lib/libpng16.so.16 (0x00007f576c588000)
   libz.so.1 => /usr/lib/libz.so.1 (0x00007f576c56e000)
   libharfbuzz.so.0 => /usr/lib/libharfbuzz.so.0 (0x00007f576c49a000)
   libmd4c.so.0 => /usr/lib/libmd4c.so.0 (0x00007f576c484000)
   libsystemd.so.0 => /usr/lib/libsystemd.so.0 (0x00007f576c3c0000)
   libdouble-conversion.so.3 => /usr/lib/libdouble-conversion.so.3 (0x00007f576c3a7000)
   libicui18n.so.69 => /usr/lib/libicui18n.so.69 (0x00007f576c080000)
   libicuuc.so.69 => /usr/lib/libicuuc.so.69 (0x00007f576be8d000)
   libdl.so.2 => /usr/lib/libdl.so.2 (0x00007f576be86000)
   libpcre2-16.so.0 => /usr/lib/libpcre2-16.so.0 (0x00007f576bdfa000)
   libzstd.so.1 => /usr/lib/libzstd.so.1 (0x00007f576bceb000)
   libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x00007f576bbb4000)
   /lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007f576e01d000)
   libGLdispatch.so.0 => /usr/lib/libGLdispatch.so.0 (0x00007f576bafc000)
   libGLX.so.0 => /usr/lib/libGLX.so.0 (0x00007f576bac9000)
   libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00007f576b9ff000)
   libgraphite2.so.3 => /usr/lib/libgraphite2.so.3 (0x00007f576b9da000)
   librt.so.1 => /usr/lib/librt.so.1 (0x00007f576b9cd000)
   liblzma.so.5 => /usr/lib/liblzma.so.5 (0x00007f576b9a5000)
   liblz4.so.1 => /usr/lib/liblz4.so.1 (0x00007f576b982000)
   libcap.so.2 => /usr/lib/libcap.so.2 (0x00007f576b977000)
   libgcrypt.so.20 => /usr/lib/libgcrypt.so.20 (0x00007f576b83b000)
   libicudata.so.69 => /usr/lib/libicudata.so.69 (0x00007f5769ce2000)
   libpcre.so.1 => /usr/lib/libpcre.so.1 (0x00007f5769c69000)
   libX11.so.6 => /usr/lib/libX11.so.6 (0x00007f5769b28000)
   libbz2.so.1.0 => /usr/lib/libbz2.so.1.0 (0x00007f5769b15000)
   libbrotlidec.so.1 => /usr/lib/libbrotlidec.so.1 (0x00007f5769b07000)
   libgpg-error.so.0 => /usr/lib/libgpg-error.so.0 (0x00007f5769ae0000)
   libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007f5769ab4000)
   libbrotlicommon.so.1 => /usr/lib/libbrotlicommon.so.1 (0x00007f5769a91000)
   libXau.so.6 => /usr/lib/libXau.so.6 (0x00007f5769a8c000)
   libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00007f5769a84000)


Top
 Profile  
 
 Post subject: Re: Linux Mint package installation questions
PostPosted: Oct Sat 09, 2021 6:27 pm 
Member
User avatar

Joined: Dec Sun 21, 2014 2:28 pm
Posts: 270
Location: Bremen, KS
SHenion wrote:
Now that you say you have to compile it, that explains why you need the development versions.

Normal libraries are just the library itself. Packages that use them are compiled elsewhere using the full development libs. The development info is there to allow the compiler to know how to use the lib.


The above is true for Debian and distributions based upon it. Other distribution families may/will differ. For example, Slackware includes everything in one package.

Debian's approach is due to most users installing software from its repositories and -dev packages are only needed in special cases.

_________________
- Nate


Top
 Profile  
 
 Post subject: Re: Linux Mint package installation questions
PostPosted: Oct Sat 09, 2021 9:46 pm 
Member

Joined: Feb Wed 07, 2018 6:52 pm
Posts: 1098
Location: Stone Mountain, GA
N0NB wrote:
SHenion wrote:
Now that you say you have to compile it, that explains why you need the development versions.

Normal libraries are just the library itself. Packages that use them are compiled elsewhere using the full development libs. The development info is there to allow the compiler to know how to use the lib.


The above is true for Debian and distributions based upon it. Other distribution families may/will differ. For example, Slackware includes everything in one package.

Debian's approach is due to most users installing software from its repositories and -dev packages are only needed in special cases.


You would need dev versions for slackware.

The issue is the code is being compiled and outside a package manager, so you need the dev packages.

On Gentoo, it would probably be easier as everything is compiled from source.

_________________
Scott.
Powered by infinite improbability drive.


Top
 Profile  
 
 Post subject: Re: Linux Mint package installation questions
PostPosted: Oct Sun 10, 2021 4:12 pm 
Member
User avatar

Joined: Dec Sun 25, 2016 5:53 am
Posts: 339
Macrohenry wrote:
poorguy wrote:
COM-NAV-ECM wrote:
Greetings, macrohenry
I could not have coded my way out of a wet paper bag,

What is it all of you Linux users are coding.
I've been using Linux for 7 years and haven't had to do any of this coding I read that you all are always mentioning having to do.
And yes I use the terminal for updating and clearing cache etc but ain't never had to do any of this coding you all say you have to do.


I confess, I really don't know squat about the coding thing. I seek and nearly always find solutions to the few problems I've come up against with Linux Mint by posting in one of the many forums at Linux Questions dot org. There are so many knowledgables there who are willing to help, it is my go-to.

https://www.linuxquestions.org/

_________________
1970's Avionics Tech, USN Attack Squadron 147, "ARGONAUTS" A-7E A/C


Top
 Profile  
 
Post New Topic Post Reply  [ 34 posts ]  Moderator: Alan Voorhees Go to page Previous  1, 2

All times are UTC [ DST ]


Who is online

Users browsing this forum: OldRelic and 21 guests



Search for:
Jump to:  


































Privacy Policy :: Powered by phpBB