installing-the-scite-editor-on-freebsd-7-2
Posted by superuser
Scite is my favorite text editor the last two years. It’s simple, lightweight and let me execute my scripts just pressing the F5 button (appends the results in the same window). Good indentation and supports a large list of programming languages. Scite is built upon the Scintilla and can be downloaded from here
[updated on 02/10/2009] The following informations are valid only for versions up to 1.79. From version-2, SciTE is using by default gtk20
In order to complete the installation of Scite on FreeBSD (with all 6/7 version) you have to take note of the followings:
Firstly, install Scintilla from the Ports Collection with the option WITH_GTK=yes . By default the port is set up to be built with gtk1.2 and if you do so, the Scite installation will fail.
# cd /usr/ports/x11-toolkits/scintilla
- make WITH_GTK2=yes install clean
If you are wondering why this happen, take a look at the
Makefile of Scintilla port..if defined(WITH_GTK2)
USE_GNOME= gtk20
PKGNAMESUFFIX:= -gtk2
.else
USE_GNOME= gtk12
MAKE_ARGS+= GTK1=yes
.endif
Now you’re ready to visit the Scite port
# cd /usr/ports/editors/scite
- make install clean
and the installation is completed!






Why not use a real text editor like Vim or Emacs?
Hi,
i don't have this directory /usr/ports.
And i was tried to find this with : find / -name ports
and nothing :s
So, I've decided install it manually and
when i go to compile scintilla first like the doc say it this error
appears :
"makefile", line 16: Missing dependency operator
"makefile", line 18: Need an operator
"makefile", line 22: Need an operator
"makefile", line 23: Need an operator
"makefile", line 28: Need an operator
"makefile", line 30: Need an operator
"makefile", line 32: Need an operator
"makefile", line 34: Need an operator
"makefile", line 36: Need an operator
"makefile", line 38: Need an operator
"makefile", line 42: Need an operator
"makefile", line 45: Need an operator
"makefile", line 46: Need an operator
"makefile", line 48: Need an operator
Error expanding embedded variable.
Any body have an idea please ?
The following steps work for all 6/7 versions of FreeBSD.
You have to install first the Ports Collection: (1)As root, launch the Sysinstall Main Menu:
(2)Select "Configure(Do post-install configuration of FreeBSD)" (3)Then select "Distributions(Install Additional Distribution Sets)" (4)And there you'll find the option "Install Ports Collection"
A CD/DVD or Internet connection is required to download the source of Ports Collection.
After completion you will find all ports under /usr/ports. Have fun!
On MS Windows if you try to associate a particular filetype (for ex. if you want to setup to open by default .txt files, or .py or any other ) with SciTE, you have to edit manually the path variable for this particular filetype, otherwise SciTE will fail to work if the directory paths containing spaces (for ex. "C:\Documents And Settings\user\").
This can be easily done through the Windows Explorer in Tools | Folder Options | File Types | (Select type) | Advanced | open | Edit. Setting double quotes around the path variable %1 will fix the problem.
Here are my settings grabbed from my xp workstation
Scite is my favorite editor too, it's rock ! \m/ is the best for me, simple to use and powerful to develop scripts. thank you for your help.
thx again superuser.
scite on FreeBSD Rock