Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sun 17 Nov 2019, 20:11
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Derivatives
TazPup64 (pre-alpha17) - getting close to alpha quality
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 7 of 7 [92 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7
Author Message
s243a

Joined: 02 Sep 2014
Posts: 2155

PostPosted: Fri 10 May 2019, 03:53    Post subject:  

s243a wrote:
s243a wrote:


dropbox-2019.02.14-x86_64.tazpkg
built from deb file, with nautilus patch (see post) (untested)

Edit: I get the following error when I try to run dropbox:

Code:

sh-4.4# dropbox start -i
Starting Dropbox...Traceback (most recent call last):
  File "/usr/bin/dropbox", line 1443, in start
    download()
  File "/usr/bin/dropbox", line 295, in download
    gi.require_version('Gdk', '3.0')
  File "/usr/lib/python3.6/site-packages/gi/__init__.py", line 127, in require_version
    raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace Gdk not available


I also had to install python3-pygobject manually for some reason. Adding the dependency didn't seem to atomically install this for me. I'll check to see if I spelled it right.


I see that rather than installing python3-pygobject, that I can build it using pip:
Code:

Execute pip3 install pycairo to build and install Pycairo
Execute pip3 install PyGObject to build and install PyGObject

https://pygobject.readthedocs.io/en/latest/getting_started.html
Presumably having a devx will be helpful to build these python packages. Fortunately I just built devX:
https://www.dropbox.com/s/0nbhvhfyw6lts5j/devx_tazpup-0.1-x86_64.sfs?dl=0

using a modified version of mistfires /usr/bin/mk-devx script.

Since I already have this installed (via python3-gobject. I ran the following command:
Code:

pip3 install --upgrade --force-reinstall PyGObject

but it didn't work so I have some troubleshooting to do. The first step is to add the "--no-clean" option so that pip doesn't delete the temporary files.

Edit 2:
Code:

pip3 install --no-clean --upgrade --force-reinstall PyGObject

Now nativate to tmp folder. In my case:
Code:

/tmp/pip-install-r57wjyvc/PyGObject

then try to build with the command:
Code:

python3 setup.py install

and I get the error:
Code:

Package 'pixman-1', required by 'cairo', not found
Command '('pkg-config', '--print-errors', '--exists', 'cairo >= 0')' returned non-zero exit status 1.

I have installed xorg-pixman maybe I need to tell pkg-config how to find it.

Edit 3:
The solution was to install xorg-pixman-dev. I also needed to install libpng-dev libpng16-dev


I get now get the error:
Code:

Package 'xcb-shm', required by 'cairo', not found
Command '('pkg-config', '--print-errors', '--exists', 'cairo >= 0')' returned non-zero exit status 1.

I'll try installing the following packages to fix the error:
xorg-libxshmfence-dev xcb-util-xrm-dev xorg-libxcb-dev xorg-xcb-util-dev xorg-xcb-util-cursor-dev xorg-xcb-util-image-dev xorg-xcb-util-keysyms-dev xorg-xcb-util-renderutil-dev xorg-xcb-util-wm-dev

That seemd to solve the issue. I now get the error:
Code:

Package 'xproto', required by 'xau', not found
Command '('pkg-config', '--print-errors', '--exists', 'cairo >= 0')' returned non-zero exit status 1.

I'll try installing xorg-dev-proto to fix this error. That fixed the error.

I now get the error
Code:

Package py3cairo was not found in the pkg-config search path.
Perhaps you should add the directory containing `py3cairo.pc'
to the PKG_CONFIG_PATH environment variable
No package 'py3cairo' found
Command '('pkg-config', '--print-errors', '--exists', 'py3cairo >= 1.11.1')' returned non-zero exit status 1.

I'll install python3-pycairo-dev to see if that fixes the error. That fixed the error.

I new get the error.
Code:

gi/gimodule.c:24:10: fatal error: Python.h: No such file or directory
 #include <Python.h>
          ^~~~~~~~~~
compilation terminated.
error: command 'x86_64-slitaz-linux-gcc' failed with exit status 1

I'll try installing python3-dev to fix this error.

I now get the error:
Code:

/usr/include/bits/local_lim.h:38:10: fatal error: linux/limits.h: No such file or directory
 #include <linux/limits.h>
          ^~~~~~~~~~~~~~~~
compilation terminated.
error: command 'x86_64-slitaz-linux-gcc' failed with exit status 1

I think that limits.h comes from the kernal sources.

http://murga-linux.com/puppy/viewtopic.php?p=1025914#1025914

I built an updated version of devX.

devx_tazpup-0.2.sfs

First I went though the files that I was missing when I was trying to build python3-pygobject see post:
http://murga-linux.com/puppy/viewtopic.php?p=1025914#1025914


except that I haven't yet included gir1.2-gtk-3.0_3.22.11-1_x86_64.tazpkg into devx. See post:
http://murga-linux.com/puppy/viewtopic.php?p=1025970#1025970

I also went though the repository (manually) and added any missing file I noticed that had "-dev" in its name. I created a spreadsheet showing all the packages and I want to fix the headings before I explain the spreadsheet.

Note: I haven't yet tested this build of devX.
Back to top
View user's profile Send private message Visit poster's website 
s243a

Joined: 02 Sep 2014
Posts: 2155

PostPosted: Tue 14 May 2019, 00:13    Post subject:  

I put the buildkit source on github.
https://github.com/s243a/TazPup64_BuildKit

Currently, you cannot build from the github source alone because I didn't yet code a way to download binaries based on the ".binary.meta" files. See post:
Copy a directory structure except for binaries

The actual binaries are avialable in:
BuildKit%28TazPup64%29-PreAlpha17%28unclean%29.tar.gz

but I made a fair bit of changes without testing the build kit. Instead I've been modifying the rootfs via the command:
mount_rootfs64

and then making the iso from the modified rootfs with the command:
make_ISO_Fm_slitaz-rootfs

The actual command to build TazPup64 from scratch is:
make-tazpup.sh

but I recommend waiting until I do my next "from scratch build" before trying this last command.

However, if one disregards this advice the configuration file for make-tazpup.sh is:
defaults

_________________
Find me on minds and on pearltrees.
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 7 of 7 [92 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Derivatives
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0473s ][ Queries: 11 (0.0149s) ][ GZIP on ]