Glom anybody?

If none of the more specific forums is the right place to ask

Glom anybody?

Postby zombie_ramboz » 2018-10-05 19:47

The previous time I compiled Glom I remember it being a straightforward affair. This time, on running ./configure I am seeing the below:

Code: Select all
No package 'libxml++-3.0' found
No package 'libxslt' found
No package 'pygobject-3.0' found
No package 'libgdamm-5.0' found
No package 'libgda-5.0' found
No package 'libgda-postgres-5.0' found
No package 'libgda-postgres-5.0' found
No package 'libgda-mysql-5.0' found
No package 'libarchive' found
No package 'libepc-1.0' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables LIBGLOM_CFLAGS
and LIBGLOM_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.


And am having a very hard time installing these dependencies, mainly because I can't find them. Searching for libxml++-3.0 turn up nothing, for example.

Is there anyway around this?
zombie_ramboz
 
Posts: 10
Joined: 2017-11-05 07:31

Re: Glom anybody?

Postby sunrat » 2018-10-05 22:33

You're out of luck with that version of libxml in Debian.
Did you try installing with pip instead of compiling?
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!
User avatar
sunrat
 
Posts: 2452
Joined: 2006-08-29 09:12
Location: Melbourne, Australia

Re: Glom anybody?

Postby zombie_ramboz » 2018-10-06 09:33

Did you try installing with pip instead of compiling?


Good thinking. I am not familiar with PIP, I ran:

Code: Select all
pip install glom


This appeared to be successful, and I can see a Glom dir in /usr/local/lib/python2.7/dist-packages with associated files. Now how do I run it? No menu entry created and typing "glom" in the CLI returns "{}".
zombie_ramboz
 
Posts: 10
Joined: 2017-11-05 07:31

Re: Glom anybody?

Postby arzgi » 2018-10-06 10:44

pip has --user option, which installs to your own home-dir. /usr/local/ installation requires root privileges to use.
arzgi
 
Posts: 387
Joined: 2008-02-21 17:03
Location: Finland

Re: Glom anybody?

Postby arzgi » 2018-10-06 12:44

In this case, you can ignore my previous post (--user option). To use glom, you have to import in python.
Code: Select all
pip install glom
Collecting glom
  Using cached ....
3ee/face-0.1.0-py2-none-any.whl
Installing collected packages: boltons, attrs, face, glom
Successfully installed attrs-18.2.0 boltons-18.0.1 face-0.1.0 glom-18.3.1
arto@samsung:~$ python
Python 2.7.13 (default, Sep 26 2018, 18:42:22)
[GCC 6.3.0 20170516] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import glom
>>>
arzgi
 
Posts: 387
Joined: 2008-02-21 17:03
Location: Finland

Re: Glom anybody?

Postby zombie_ramboz » 2018-10-06 15:54

arzgi wrote:In this case, you can ignore my previous post (--user option). To use glom, you have to import in python.
Code: Select all
pip install glom
Collecting glom
  Using cached ....
3ee/face-0.1.0-py2-none-any.whl
Installing collected packages: boltons, attrs, face, glom
Successfully installed attrs-18.2.0 boltons-18.0.1 face-0.1.0 glom-18.3.1
arto@samsung:~$ python
Python 2.7.13 (default, Sep 26 2018, 18:42:22)
[GCC 6.3.0 20170516] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import glom
>>>


Is something meant to happen when I import glom?
zombie_ramboz
 
Posts: 10
Joined: 2017-11-05 07:31

Re: Glom anybody?

Postby arzgi » 2018-10-06 16:02

Not as such, but you can start using it's functions. https://github.com/mahmoud/glom/
arzgi
 
Posts: 387
Joined: 2008-02-21 17:03
Location: Finland


Return to General Questions

Who is online

Users browsing this forum: No registered users and 8 guests

fashionable