You are not logged in.

#1 2013-06-17 22:40:28

Janilson
Member
From: Recife-PE/Brazil
Registered: 2013-03-05
Posts: 55

Squirrel issue

Hi guys, I just downloaded from AUR and installed the package squirrel-sql 3.5.0-1
I've created the .pkg file and then I've run pacman -U ...
Now, I got the icon on my menu (XFCE) but when I click on it nothing happens. So, I think I should run some .sh file, so this is my question.

I had this problem with oracle-xe AUR package, I see the icons but I don't see any "installationwizar" or something that do it so.

Last edited by Janilson (2013-06-17 23:46:01)

Offline

#2 2013-06-17 23:10:10

vladimir_1922
Member
Registered: 2010-11-02
Posts: 50

Re: Squirrel issue

*.sh files are a standard UNIX executable format, so it isn't Arch Linux specific.

I am not sure what are yout trying to do, AUR packages ain't installed with "installation wizzards" or anything similar

Here you have an explanation onhow to manage them. https://wiki.archlinux.org/index.php/Ar … Repository

if you want to install and upgrade AUR package easy you can install yaourt: It works like pacman, but it also allows to install AUR packages.

https://wiki.archlinux.org/index.php/Ya … stallation

if you ever again find an *.sh file, you must know that you can make them executable (if you use a terminal, the command is chmod +x <name of the sh file>, and with normal graphical interfaces, it is just right click and tick the option of exectuable) I recommend you to use a terminal, as it is a secure way of get the output of the program


And later, if you have a problem, don't hesitate on googling it. Arch Linux has a really good documentation, and 99.99% of the times it is much more helpful than the forums. Most of the times searching for "arch wiki + <your problem>" it will find a solution

Offline

#3 2013-06-17 23:19:52

Janilson
Member
From: Recife-PE/Brazil
Registered: 2013-03-05
Posts: 55

Re: Squirrel issue

Well, I had read the documantation, and I have "installed" the package from AUR using makepkg -s and then pacman -U name_of_package.pkg.tar.gz.

The problem now is that when I go to menu/system and I click on "squirrel sql" icon nothing happens.
When I navigate into its folder I see some .sh file, such as squirrel-sql.sh, then I click on them and nothing happens too.
I've tried some commands in terminal such as

-sh file.sh
-chmod +x file.sh
etc

But nothing happens either. If I executed and installed with pacman -U or yaourt, should this application be ready after it?

Offline

#4 2013-06-17 23:27:43

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,168

Re: Squirrel issue

If you created the package and installed it and it creates an icon in the menu but nothing happens, that sounds like a bug unless some user intervention is needed to get it working. Did pacman's output tell you to do anything when you installed it?

Note that if the file is executable ./file.sh should probably work. Otherwise sh ./file.sh should. However, you should examine the contents of the file before executing it. Do not do this without understanding what the file does.

EDIT: Which folder are you navigating to? As far as I can tell, it installs its binary under /usr/bin. Have you tried just running squirrel-sql from the terminal?

Last edited by cfr (2013-06-17 23:32:27)


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#5 2013-06-17 23:27:57

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Squirrel issue

Offline

#6 2013-06-17 23:38:33

Janilson
Member
From: Recife-PE/Brazil
Registered: 2013-03-05
Posts: 55

Re: Squirrel issue

The /var/log/pacman.log shows me

[PACMAN] Running 'pacman -U squirrel-sql-3.5.0-1-i686.pkg.tar.xz'
[PACMAN] installed squirrel-sql (3.5.0-1)

So maybe this is some bug and the program was not installed at all? sad

I don't remember anything from the pacman output, I will try to install it one more time

Offline

#7 2013-06-17 23:41:49

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Squirrel issue

It's enough to run 'pacscripts <packagename>' - ti will print post_install, post_upgrade etc. scripts.

Offline

#8 2013-06-17 23:42:43

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,456
Website

Re: Squirrel issue

Go to a terminal and enter the following, report any errors it returns:

squirrel-sql

(edit: thanks for the title update)

Last edited by Trilby (2013-06-17 23:50:25)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#9 2013-06-17 23:47:40

Janilson
Member
From: Recife-PE/Brazil
Registered: 2013-03-05
Posts: 55

Re: Squirrel issue

when I run pacscript

[janilson@archlinux squirrel-sql]$ pacscripts squirrel-sql-3.5.0-1-i686.pkg.tar.xz 
==> ERROR: Package squirrel-sql-3.5.0-1-i686.pkg.tar.xz does not include any .INSTALL script
[janilson@archlinux squirrel-sql]$ 

I just run squirrel-sql and nothing happened again.

I will ask in aur too

Offline

#10 2013-06-17 23:51:52

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,456
Website

Re: Squirrel issue

Nothing happened, really?  Nothing as in no output at all, and it just gave you a new prompt, or nothing as in it hung and didn't give a new prompt, or nothing as in your computer vanished into a void of nothingness?


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#11 2013-06-17 23:52:50

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Squirrel issue

Trilby wrote:

Nothing happened, really?  Nothing as in no output at all, and it just gave you a new prompt, or nothing as in it hung and didn't give a new prompt, or nothing as in your computer vanished into a void of nothingness?

https://bbs.archlinux.org/viewtopic.php?id=155984

Trilby wrote:

edit: thanks for the title update

Now it looks like OP has a rodent problem ;P

Offline

#12 2013-06-17 23:53:36

Janilson
Member
From: Recife-PE/Brazil
Registered: 2013-03-05
Posts: 55

Re: Squirrel issue

Nothing happens, the cursor hungs there maybe doing something but no output is given to me. It doesn't give me a new prompt

Offline

#13 2013-06-18 00:00:14

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,456
Website

Re: Squirrel issue

I'm not much of a java-troubleshooter (java-shooter maybe: line up some shot glasses of esspresso, and I'll go to it), but the output of the following could be helpful:

pacman -Ss jre
strace squirrel-sql

The latter one should give quite a long output.  If it does, post it to a pastebin-type site and link it here.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#14 2013-06-18 00:09:35

Janilson
Member
From: Recife-PE/Brazil
Registered: 2013-03-05
Posts: 55

Re: Squirrel issue

jre is installed

Here is the output, sorry if it is not what you asked for, I didnt knew this kind of site until now
http://pastebin.com/raw.php?i=MiYrWATn

Offline

#15 2013-06-18 00:13:03

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,456
Website

Re: Squirrel issue

Yup, that's what I was looking for - and it all looks perfectly normal ... I'm stumped.  I installed the package, and it runs fine here - with what looks like an identical strace.

Last edited by Trilby (2013-06-18 00:13:31)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#16 2013-06-18 00:24:06

Janilson
Member
From: Recife-PE/Brazil
Registered: 2013-03-05
Posts: 55

Re: Squirrel issue

I am a real newbie, I can install things from AUR but this one I couldn't. Can you tell me exactly what you've done? So I compare with what I did?
Maybe I shall do something I didn't sad

Edit: You opened the Squirrel GUI? Clicking on the menu icon?

Last edited by Janilson (2013-06-18 00:25:31)

Offline

#17 2013-06-18 00:52:29

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,456
Website

Re: Squirrel issue

I don't use a DE, so I have no icons nor menus.  I just typed `squirrel-sql` at a prompt, and it opened the gui ... though it is fairly slow.

I used cower to download the aur tarball, but any means of downloading the tarball from here would work.  Then unpack the tarball, cd to the directory the unpacking creates, then just `makepkg -si` would do it.  But as you already had the dependencies, the 's' isn't needed, and as you say you installed with pacman -U the 'i' is also not needed.  If you ran `makepkg` then `pacman -U <really-long-package-name>.pkg.tar.gz` then you did it right.

From the pacman output and logs, and the strace result, you definitely did the installation of squirrel-sql properly.

It's possible something else is misconfigured on your system.  But my main suspicion is that there is some unlisted dependency of squirrel-sql that I just happen to already have installed.  I looked a bit for hints of this - but I can't get any leads.

Last edited by Trilby (2013-06-18 00:53:49)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#18 2013-06-18 11:57:43

Janilson
Member
From: Recife-PE/Brazil
Registered: 2013-03-05
Posts: 55

Re: Squirrel issue

Trilby wrote:

It's possible something else is misconfigured on your system.  But my main suspicion is that there is some unlisted dependency of squirrel-sql that I just happen to already have installed.  I looked a bit for hints of this - but I can't get any leads.


Well, I agree with you. My system is brand new, I don't have many things installed, maybe some dependencies are missing here.

I will try another program, THANK YOU ALL very much for trying to help.

Offline

Board footer

Powered by FluxBB