Closed suntong closed 8 months ago
BTW, found that libraqm0
was missing from the whole installation, and solved by installing libraqm0:amd64
. Just FTA.
On which OS?
I built with the checkinstall methods under Ubuntu 22.04.2 LTS, and install the built packages to another (Debian 12) machine --
Debian GNU/Linux 12 (bookworm)
And on which OS is libraqm0 missing? IMEI has built-in exceptions for Debian Stretch and Ubuntu Xenial.
Debian 12
I can't reproduce this. On a fresh debian 12 installation, libraqm0 exists.
On a fresh debian 12 installation, libraqm0 exists.
You meant you have libraqm0 right out of the box right? I do minimum installation for both of my Ubuntu and Debian. IE my Debian (and Ubuntu) doesn't have it by default (my VPS might have it but I cannot verify, now that it is having it).
Please see, if version 6.9.0 fixed this issue.
Thanks, I've giving it a try now...
Hmmm...
First of all, I'm still thinking clearing of the terminal scroll back log is a bit abrupt and harsh, and better put that into the README instead, i.e., explicitly do clear
before invoking bash "$t"
, rather than leaving people of no choice than to loose all their scroll back logs.
There's no cleaning of the scroll back log.
What happens, if you paste echo -ne "\ec"
in your console? Does that remove your scroll back log as well?
if you paste
echo -ne "\ec"
in your console? Does that remove your scroll back log as well?
yeah, my scroll back log is gone by doing that.
if you paste
echo -ne "\ec"
in your console? Does that remove your scroll back log as well?yeah, my scroll back log is gone by doing that.
I can't reproduce this. What about clear -x
?
I can't reproduce this.
What terminal are you using? Have you tried it with xterm?
What about clear -x?
That'll keep most of my scroll back log, just the last screenful of logs is gone.
Rest of the feedbacks:
sudo rm /usr/local/src/imei-*
, then ran the script with bash "$t" --use-checkinstall
, however, this is what I got:. . .
#####################
Installation Process
#####################
Installing dependencies [OK]
Building aom [SKIPPED]
Building libheif [SKIPPED]
Building jpegxl [SKIPPED]
Building ImageMagick (Q16) [SKIPPED]
Verifying installation [OK]
Process has been finished successfully after 22 seconds!
$ dir /usr/local/src/
total 0
I.e., when using --use-checkinstall
better make sure all packages are indeed re-generated (even without re-compiling).
As for the minimum dependant package issue, yes, the problem is fixed. Thanks. I'll leave this issue open for you if you want to close it after making sure all packages are re-generated if they are missing from /usr/local/src/.
PS.
# prove that the minimum dependant package issue is fixed
$ ls /usr/local/src/*.deb | xargs -n 1 dpkg -I | grep '^ Depends: '
Depends: libraqm0,libgomp1,libfftw3-dev,liblcms2-2,libfontconfig1,libxext6,libltdl7,liblqr-1-0-dev,libwebp-dev,libzip-dev,libice-dev,libsm-dev,imei-libaom,imei-libheif,imei-libjxl
Depends: libde265-dev,libx265-dev,imei-libaom
Depends: libgif7,libjpeg-dev,libopenexr-dev,libbrotli-dev,imei-libaom,imei-libheif
logs gone again
You sure?
As you can see, log files are no longer being removed by IMEI. So for every execution, a new log file is being generated, retaining the previous ones.
log files are no longer being removed by IMEI
True.
I was talking about the steps I took to prove that the minimum dependant package issue is fixed. IE, my terminal scroll back log.
"prove that the minimum dependant package issue is fixed" updated.
I'll leave this issue open for you if you want to close it after making sure all packages are re-generated if they are missing from /usr/local/src/.
And also, please make a (force) symlink from the latest log to /var/log/imei.log
each time, so that my script can dump it if things goes wrong.
Originally posted by @suntong in https://github.com/SoftCreatR/imei/discussions/87
If I use the
checkinstall
methods to enable the creation of packages that can be uninstalled at a later time, and copy the built packages to another machine and do installation there, it seems to me that it is requesting more packages than necessary, likeautoconf automake autotools-dev yasm cmake pkg-config
etc...Hope we can seperate the runtime dependant packages from build-time some day.