[Typo3-linux] Can't get graphicsmagick to work
Dimitri Tarassenko
mitka at mitka.us
Mon Oct 3 21:07:54 CEST 2005
Roberto,
On 10/3/05, Roberto <rmartinez at netcontac.com> wrote:
> Michael,
> I review the paths an new tests were made but I still get:
> -bash: gm: command not found
> Is it necesary to prepare or make something else with the file?
First of all, unlike DOS, bash does not search the current directory
for executable files. In other words,
gm
will ONLY search for gm on the PATH, while
./gm
will execute gm in the current directory.
Secondly, you need to make sure gm executable has "execute" flag, i.e.
the output of
ls -al
should look kind of like:
[root at trigger gm]# ls -al
total 3784
drwxr-xr-x 2 root root 4096 Sep 23 15:04 .
drwxrwxr-x 6 mitka apache 4096 Sep 23 15:04 ..
-rw-r--r-- 1 root root 5295 May 28 21:02 delegates.mgk
-rwxr-xr-x 1 root root 3837376 May 29 22:41 gm
Note those x'es in the first column.
--
Dimitri Tarassenko
More information about the TYPO3-linux
mailing list