ports/112770: Running gotmail-0.8.9 from cron fails with "Can't exec "curl": No such file or

Stacey Roberts stacey at vickiandstacey.com
Fri May 18 21:30:05 UTC 2007


>Number:         112770
>Category:       ports
>Synopsis:       Running gotmail-0.8.9 from cron fails with "Can't exec "curl": No such file or
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 18 21:30:04 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Stacey Roberts
>Release:        FreeBSD 6.2-STABLE i386
>Organization:
>Environment:
System: FreeBSD crom.vickiandstacey.com 6.2-STABLE FreeBSD 6.2-STABLE #0: Fri Feb 16 23:19:35 GMT 2007 root at crom.vickiandstacey.com:/usr/obj/usr/src/sys/HAMMER i386


>Description:
Installed and configured gotmail-0.8.9. Works fine from cmdline, but attempts at automating via
cron fails as follows:

Can't exec "curl": No such file or directory at /usr/local/bin/gotmail line 677.
Use of uninitialized value in concatenation (.) or string at /usr/local/bin/gotmail line 677.
curl: not found
Could not open /var/tmp/tmp.3.yUWlHvgotmail_curlstderr44085 : No such file or directory at
+/usr/local/bin/gotmail line 774.

For reference, curl *is* installed and in my path:

$ pkg_info curl\*
Information for curl-7.16.1:

Comment:
Non-interactive tool to get files from FTP, GOPHER, HTTP(S) servers


Required by:
evolution-2.10.1
evolution-exchange-2.10.1
gnome2-2.18.1
gnupg-1.4.7
gnupg-2.0.3
p5-Mail-SpamAssassin-3.1.8_1
seahorse-1.0.1
gotmail-0.8.9


Description:
curl is a client to get documents/files from servers, using any of the
supported protocols. The command is designed to work without user
interaction or any kind of interactivity.

curl offers a busload of useful tricks like proxy support, user
authentication, ftp upload, HTTP post, SSL (https:) connections, file
transfer resume and more.

WWW: http://curl.haxx.se/



$ which curl
/usr/local/bin/curl
$ curl -h
Usage: curl [options...] <url>
Options: (H) means HTTP/HTTPS only, (F) means FTP only
 -a/--append        Append to target file when uploading (F)
 -A/--user-agent <string> User-Agent to send to server (H)
    --anyauth       Pick "any" authentication method (H)
 -b/--cookie <name=string/file> Cookie string or file to read cookies from (H)
    --basic         Use HTTP Basic Authentication (H)
 -B/--use-ascii     Use ASCII/text transfer
...


>How-To-Repeat:
Install latest gotmail from ports
Attempt to automate via cron

>Fix:
Don't know.
>Release-Note:
>Audit-Trail:
>Unformatted:
 directory at /usr/local/bin/gotmail line 677" errors



More information about the freebsd-ports-bugs mailing list