Calibre final build error
Building the dependencies worked seamless output as below
ladmin@ubuntu:/dev/mapper/elib/calibre$ sudo python3.7 setup.py build_dep linux
*
* Running build_dep
*
truncate -s 2G /dev/mapper/elib/calibre/bypy/b/linux/64/chroot.img
mkfs.ext4 /dev/mapper/elib/calibre/bypy/b/linux/64/chroot.img
mke2fs 1.45.5 (07-Jan-2020)
Discarding device blocks: done
Creating filesystem with 524288 4k blocks and 131072 inodes
Filesystem UUID: 77f9cf73-e951-4202-a4b1-7fc00510c410
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912
Allocating group tables: done
Writing inode tables: done
Creating journal (16384 blocks): done
Writing superblocks and filesystem accounting information: done
sudo mount /dev/mapper/elib/calibre/bypy/b/linux/64/chroot.img /dev/mapper/elib/calibre/bypy/b/linux/64/chroot
in-chroot groupadd -f -g 0 crusers
in-chroot useradd --home-dir=/home/root --create-home --uid=0 --gid=0 root
useradd: user 'root' already exists
sudo umount /dev/mapper/elib/calibre/bypy/b/linux/64/chroot
Now building the actual calibre itself I'm getting the below error, trying to understand what is missing here.
ladmin@ubuntu:/dev/mapper/elib/calibre$ sudo python3.7 setup.py linux64
*
* Running linux64
*
sudo mount /dev/mapper/elib/calibre/bypy/b/linux/64/chroot.img /dev/mapper/elib/calibre/bypy/b/linux/64/chroot
in-chroot python3.7 /bypy main /dev/mapper/elib/bypy program --sign-installers --notarize --compression-level=9
linux64: python3.7: No such file or directory
I have even downgraded my python from 3.8 to 3.7 for this. What am I missing?
@kovidgoyal
please help...
|