Comments (6)
Just also tried Textadept 11.2 beta 3 (12 Jun 2021)
gmake deps
gave me a slight hiccup:
inflating: scintilla/curses/scinterm-f8980f045c16b79b6d7b83c06db2c6195e89e3e6/jinx/jinx.c
creating: scintilla/curses/scinterm-f8980f045c16b79b6d7b83c06db2c6195e89e3e6/patches/
inflating: scintilla/curses/scinterm-f8980f045c16b79b6d7b83c06db2c6195e89e3e6/patches/02-caretstyle_curses.patch
make -C scintilla/curses patch
*** Parse error in /home/user/Downloads/textadept-textadept_11.2_beta_3/src/scintilla/curses: Need an operator in 'DEBUG' (Makefile:10)
*** Parse error: Need an operator in 'else' (Makefile:12)
*** Parse error: Need an operator in 'endif' (Makefile:14)
*** Parse error: Need an operator in '../include' (Makefile:24)
*** Parse error: Need an operator in '../src' (Makefile:25)
gmake: *** [Makefile:381: scintilla/curses] Error 1
So I had to run gmake deps DEBUG=0
to make it work.
Then running gmake GTK3=1
showed me:
cc -c -Os -DLUA_USE_LINUX -Ilua/src -std=c99 -pedantic -DGTK -Iscintilla/include -Igtdialog -Wall -I/usr/local/include/gtk-3.0 -I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/at-spi-2.0 -I/usr/X11R6/include -I/usr/local/include/dbus-1.0 -I/usr/local/lib/dbus-1.0/include -I/usr/local/include/gio-unix-2.0 -I/usr/local/include/cairo -I/usr/X11R6/include/libdrm -I/usr/local/include/pango-1.0 -I/usr/local/include/harfbuzz -I/usr/local/include/fribidi -I/usr/local/include -I/usr/local/include/atk-1.0 -I/usr/X11R6/include/pixman-1 -I/usr/X11R6/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/gdk-pixbuf-2.0 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -Wno-deprecated-declarations textadept.c -o textadept.o
textadept.c:2447:37: error: use of undeclared identifier 'KERN_PROC_PATHNAME'
int mib[] = {CTL_KERN, KERN_PROC, KERN_PROC_PATHNAME, -1};
^
1 error generated.
gmake: *** [Makefile:171: textadept.o] Error 1
from textadept.
Sorry for the late response :( GitHub did not e-mail me this issue.
Unfortunately I do not have a BSD box to try and build Textadept with. If you manage to get it working, please let me know so I can apply any necessary patches.
from textadept.
In case anyone happens to run into this, I've committed an attempted fix for BSDs here: 2984484
For anyone who tries this, please let me know if it works or doesn't work. Thanks.
from textadept.
@orbitalquark got a bit further with your fix on OpenBSD 7.1 with the following changes:
- Added
/usr/local/include
to CFLAGS soiconv.h
is found <unistd.h>
also had to be included intextadept.c
(and<sys/sysctl.h>
removed)
But linking fails:
ld: error: duplicate symbol: focused_view
>>> defined at textadept.c
>>> textadept.o:(focused_view)
>>> defined at textadept_gtk.c
>>> textadept_gtk.o:(.bss+0x20)
(+ many more similar duplicates)
Using GTK2=1.
from textadept.
from textadept.
Seems like most of the issues come from gcc dependency, not OpenBSD itself. Building with clang fails on Linux too.
"Builds" with these changes: https://github.com/kiwec/textadept/commit/4caa4928e2bab6a97de808e86d18dfdbe1c71fd3
However it crashes on startup because of linking errors :/
from textadept.
Related Issues (20)
- textadept doesn't read from stdin HOT 9
- Unpredictable behavior of statusbar and view while using `ui.buffer_statusbar_text="..."` HOT 7
- Error when compiling for ARM HOT 4
- Each consecutive invocation from the CLI spawns a new process HOT 1
- `view.element_color[view.ELEMENT_CARET]` and `ui.find.entry_font` in `~/.textadept/init.lua` have no effect HOT 2
- Editor View shows extraneous vertical lines next to a number of character boundaries at 150% scaling HOT 4
- Horizontal scrolling in textadept-curses HOT 2
- Different toggle comment behaviour HOT 6
- Error when saving in a Windows path localised region HOT 8
- Add iconv library for FreeBSD HOT 1
- Segfault on FreeBSD HOT 1
- 建议textadept增加简体中文 HOT 1
- Multiple cursors disappear on undo & redo HOT 7
- ui.dialogs.input too small and not resizable HOT 1
- Tabs Management HOT 1
- buffer:set_encoding('UTF-8') causes marking buffer as changed HOT 5
- Compilation on Ubuntu 18.04 failed when trying to build scintilla HOT 3
- Making syntax highlighting in Textadept providing features supported in SciTE Python lexer HOT 7
- Alternative download site for current Textadept files HOT 2
- Request change of behaviour for rectangular selection to ignore line ends HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from textadept.