Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2001-01

(no subject)

11 messages · 9 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Carlo Kok

I've installed the freepascal IDE for linux, but it keeps telling me that SYSLINUX can not be found. What have I configures wrong. Free Pascal is installed in /usr/lib/fpc/1.1/ and all the directories exist.

~/fp.cfg file:

# Automaticly created file, don't edit.
#IFDEF NORMAL
-Tlinux
-Sg
-O1
-OG
-Op2
-Ratt
-Fu/usr/lib/fpc/1.1/units/linux/rtl
-Fu/usr/lib/fpc/1.1/units/linux/*
-Fu/usr/lib/fpc/1.1/units/linux/
-Fl/usr/lib/gcc-lib/i486-suse-linux/2.95.2
-Cs131072
-Ch2097152
-g-
-p-
-b-
#ENDIF

#IFDEF DEBUG
-Tlinux
-Sg
-Cr
-Ci
-Co
-OG
-Op2
-Ratt
-Cs131072
-Ch2097152
-g
-p-
-b-
#ENDIF

#IFDEF RELEASE
-Tlinux
-Sg
-O1
-O2
-OG
-Op2
-Ratt
-Cs131072

Reply by email

Peter Vreman
to Carlo Kok
you wrote
I've installed the freepascal IDE for linux, but it keeps telling me that SYSLINUX can not be found. What have I configures wrong. Free Pascal is installed in /usr/lib/fpc/1.1/ and all the directories exist.

You can't use the IDE with the 1.1 compiler.
Peter

Reply by email

Carlo Kok
to Peter Vreman: You can't use the IDE with the 1.1 compiler. Peter

Why not?

Earlier message 20 lines
----- Original Message ----- From: "Peter Vreman" To: Sent: Sunday, January 21, 2001 4:27 PM Subject: Re: [fpc-pascal](no subject) > At 16:04 21-1-01, you wrote: > >I've installed the freepascal IDE for linux, but it keeps telling me that > >SYSLINUX can not be found. What have I configures wrong. Free Pascal is > >installed in /usr/lib/fpc/1.1/ and all the directories exist. > > You can't use the IDE with the 1.1 compiler. > Peter > > > _______________________________________________ > fpc-pascal maillist - > http://lists.freepascal.org/mailman/listinfo/fpc-pascal >

Reply by email

Carlo Kok
to Peter Vreman: You can't use the IDE with the 1.1 compiler. Peter

I've installed an older version and it works. But why isn't the IDE updated?

Earlier message 20 lines
----- Original Message ----- From: "Peter Vreman" To: Sent: Sunday, January 21, 2001 4:27 PM Subject: Re: [fpc-pascal](no subject) > At 16:04 21-1-01, you wrote: > >I've installed the freepascal IDE for linux, but it keeps telling me that > >SYSLINUX can not be found. What have I configures wrong. Free Pascal is > >installed in /usr/lib/fpc/1.1/ and all the directories exist. > > You can't use the IDE with the 1.1 compiler. > Peter > > > _______________________________________________ > fpc-pascal maillist - > http://lists.freepascal.org/mailman/listinfo/fpc-pascal >

Reply by email

Unknown author
to Kenneth Due
Kenneth Due wrote 6 lines
Has anyone tried to send a mail from within a fpc program I'm trying to make a 'alarm program' to send a mail and/or a SMS via a smtpgateway any simple solutions to this problem ?

On linux it's versy simple; one of the first examples:

-----------------------------------------------------------
program sendmail;
Uses linux;
var F : Text;
begin
  POpen(F,'sendmail ','W');
  Writeln(F,'Subject: Sending a mail with fpc');
  Writeln(F);
  Writeln(F,'sending mails is very easy');
  If PClose(F)=0 then
    Writeln('Sent mail successfully')
end.
-----------------------------------------------------------

See linux unit documentation.

On windows, it's more hard, there you must use the 'mapi' dll;
but that is a little more complicated.

Michael.

Reply by email

md
to Unknown author: On linux it's versy simple; one of the first examples:…
Show quoted text 13 lines
On Sun, 21 Jan 2001, Kenneth Due wrote: > Has anyone tried to send a mail from within a fpc program > > I'm trying to make a 'alarm program' to send a mail and/or a SMS via a > smtpgateway > > any simple solutions to this problem ? On linux it's versy simple; one of the first examples: -----------------------------------------------------------

Michael:

Where is the documentation for sendmail?

Looking for the place to where I could get details over the intricacies of the pipe "sendmail"?

I would be interested in getting a result code back from sendmail about errors in transmission.

Mark

Show quoted text 26 lines
program sendmail; Uses linux; var F : Text; begin POpen(F,'sendmail ','W'); Writeln(F,'Subject: Sending a mail with fpc'); Writeln(F); Writeln(F,'sending mails is very easy'); If PClose(F)=0 then Writeln('Sent mail successfully') end. ----------------------------------------------------------- See linux unit documentation. On windows, it's more hard, there you must use the 'mapi' dll; but that is a little more complicated. Michael. _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply by email

Ralf Quint
to md
you wrote 17 lines
wrote: > > On Sun, 21 Jan 2001, Kenneth Due wrote: > > > Has anyone tried to send a mail from within a fpc program > > > > I'm trying to make a 'alarm program' to send a mail and/or a SMS via a > > smtpgateway > > > > any simple solutions to this problem ? > > On linux it's versy simple; one of the first examples: > > ----------------------------------------------------------- Michael: Where is the documentation for sendmail?

www.sendmail.org

Reply by email

Jonas Maebe
to Carlo Kok: I've installed an older version and it works. But why isn't the IDE updated? -----…
Carlo Kok wrote
I've installed an older version and it works. But why isn't the IDE updated?

Because nobody has time to continuously merge all changes from the fixes branch IDE in the main brnach IDE. And recently, the unit that allows programs to interface with the compiler (to get e.g. the number of lines that's already compiled etc.) has been changed from TP-style objects to classes, which means the IDE from the fixes branch can't be used anymore with the compiler from the main branch until it's updated.

Since the IDE is still in heavy development (just look at the bug reports on the website, at least 75% is about the IDE), it's more productive currently to focus on fixing bugs in one branch, than fix/merge every time (since after merging, you have to test again).

Jonas

Reply by email