-
-
Notifications
You must be signed in to change notification settings - Fork 816
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to install on OpenBSD #2948
Comments
I just tested it on FreeBSD and I have not OpenBSD to test it. Can you open a pr to fix it directly? |
ohmm, There is currently no way to get the executable path on OpenBSD https://chromium.googlesource.com/chromium/src/+/refs/heads/main/base/base_paths_posix.cc#71 |
https://www.reddit.com/r/openbsd/comments/slsbll/is_there_a_way_to_get_the_current_executable_path Deftly, a OpenBSD Developer says:
|
You can try this and open a pr. I added a fallback solution on dev branch, it maybe work. bash <(curl -fsSL https://xmake.io/shget.text) dev |
I'm gonna try it. |
Does it work now? |
After you add your fallback solution, the above problem is gone. But
there's another: not all unix system have a libdl, such as OS like
OpenBSD, functions like dlopen() are in libc. And xmake tries to link to
libdl, and that caused the compile error.
☁ ~ bash <(curl -fsSL https://xmake.io/shget.text) dev
Branch: dev
grep: unknown option -- P
usage: grep [-abcEFGHhIiLlnoqRsUVvwxZ] [-A num] [-B num] [-C[num]] [-e
pattern]
[-f file] [-m num] [--binary-files=value] [--context[=num]]
[--label=name] [--line-buffered] [--null] [pattern] [file ...]
grep: unknown option -- P
usage: grep [-abcEFGHhIiLlnoqRsUVvwxZ] [-A num] [-B num] [-C[num]] [-e
pattern]
[-f file] [-m num] [--binary-files=value] [--context[=num]]
[--label=name] [--line-buffered] [--null] [pattern] [file ...]
grep: grep: unknown option -- Punknown option -- P
usage: grep [-abcEFGHhIiLlnoqRsUVvwxZ] [-A num] [-B num] [-C[num]] [-e
pattern]
[-f file] [-m num] [--binary-files=value] [--context[=num]]
[--label=name] [--line-buffered] [--null] [pattern] [file ...]
usage: grep [-abcEFGHhIiLlnoqRsUVvwxZ] [-A num] [-B num] [-C[num]] [-e
pattern]
[-f file] [-m num] [--binary-files=value] [--context[=num]]
[--label=name] [--line-buffered] [--null] [pattern] [file ...]
xmake, A cross-platform build utility based on Lua.
Copyright (C) 2015-present Ruki Wang, tboox.org, xmake.io
_
__ ___ __ __ __ _| | ______
\ \/ / | \/ |/ _ | |/ / __ \
> < | \__/ | /_| | < ___/
/_/\_\_|_| |_|\__ \|_|\_\____|
by ruki, xmake.io
👉 Manual: https://xmake.io/#/getting_started
🙏 Donate: https://xmake.io/#/sponsor
cloning https://gitee.com/tboox/xmake.git dev ..
正複製到 '/tmp/.xmake_getter13895'...
remote: Enumerating objects: 3604, done.
remote: Counting objects: 100% (3604/3604), done.
remote: Compressing objects: 100% (2821/2821), done.
remote: Total 3604 (delta 1028), reused 2194 (delta 411), pack-reused 0
接收物件中: 100% (3604/3604), 2.62 MiB | 1.70 MiB/s, 完成.
處理 delta 中: 100% (1028/1028), 完成.
正在更新檔案: 100% (3064/3064), 完成.
子模組
'core/src/lua-cjson/lua-cjson'(https://gitee.com/xmake-io/xmake-core-lua-cjson.git)已對路徑
'core/src/lua-cjson/lua-cjson' 註冊
子模組
'core/src/lua/lua'(https://gitee.com/xmake-io/xmake-core-lua.git)已對路徑
'core/src/lua/lua' 註冊
子模組
'core/src/luajit/luajit'(https://gitee.com/xmake-io/xmake-core-luajit.git)已對路徑
'core/src/luajit/luajit' 註冊
子模組
'core/src/lz4/lz4'(https://gitee.com/xmake-io/xmake-core-lz4.git)已對路徑
'core/src/lz4/lz4' 註冊
子模組
'core/src/pdcurses/pdcurses'(https://gitee.com/xmake-io/xmake-core-pdcurses.git)已對路徑
'core/src/pdcurses/pdcurses' 註冊
子模組
'core/src/sv/sv'(https://gitee.com/xmake-io/xmake-core-sv.git)已對路徑
'core/src/sv/sv' 註冊
子模組 'core/src/tbox/tbox'(https://gitee.com/tboox/tbox.git)已對路徑
'core/src/tbox/tbox' 註冊
正複製到 '/tmp/.xmake_getter13895/core/src/lua-cjson/lua-cjson'...
remote: Enumerating objects: 1028, done.
remote: Counting objects: 100% (134/134), done.
remote: Compressing objects: 100% (9/9), done.
接收物件中: 100% (1028/1028), 264.92 KiB | 1.25 MiB/s, 完成.
remote: Total 1028 (delta 130), reused 125 (delta 125), pack-reused 894
處理 delta 中: 100% (666/666), 完成.
正複製到 '/tmp/.xmake_getter13895/core/src/lua/lua'...
remote: Enumerating objects: 20671, done.
接收物件中: 100% (20671/20671), 4.56 MiB | 3.08 MiB/s, 完成.
remote: Total 20671 (delta 0), reused 0 (delta 0), pack-reused 20671
處理 delta 中: 100% (15500/15500), 完成.
正複製到 '/tmp/.xmake_getter13895/core/src/luajit/luajit'...
remote: Enumerating objects: 14421, done.
remote: Counting objects: 100% (1223/1223), done.
remote: Compressing objects: 100% (54/54), done.
接收物件中: 100% (14421/14421), 5.04 MiB | 2.51 MiB/s, 完成.
remote: Total 14421 (delta 1191), reused 1169 (delta 1169), pack-reused
13198
處理 delta 中: 100% (11788/11788), 完成.
正複製到 '/tmp/.xmake_getter13895/core/src/lz4/lz4'...
remote: Enumerating objects: 12360, done.
接收物件中: 100% (12360/12360), 5.24 MiB | 3.25 MiB/s, 完成.
remote: Total 12360 (delta 0), reused 0 (delta 0), pack-reused 12360
處理 delta 中: 100% (8710/8710), 完成.
正複製到 '/tmp/.xmake_getter13895/core/src/pdcurses/pdcurses'...
remote: Enumerating objects: 16420, done.
接收物件中: 100% (16420/16420), 3.97 MiB | 3.21 MiB/s, 完成.
remote: Total 16420 (delta 0), reused 0 (delta 0), pack-reused 16420
處理 delta 中: 100% (13139/13139), 完成.
正複製到 '/tmp/.xmake_getter13895/core/src/sv/sv'...
remote: Enumerating objects: 1101, done.
接收物件中: 100% (1101/1101), 187.62 KiB | 1.52 MiB/s, 完成.
remote: Total 1101 (delta 0), reused 0 (delta 0), pack-reused 1101
處理 delta 中: 100% (712/712), 完成.
正複製到 '/tmp/.xmake_getter13895/core/src/tbox/tbox'...
remote: Enumerating objects: 60735, done.
remote: Counting objects: 100% (1383/1383), done.
remote: Compressing objects: 100% (555/555), done.
接收物件中: 100% (60735/60735), 27.80 MiB | 3.81 MiB/s, 完成.
remote: Total 60735 (delta 931), reused 1212 (delta 823), pack-reused 59352
處理 delta 中: 100% (48384/48384), 完成.
remote: Enumerating objects: 17, done.
remote: Counting objects: 100% (3/3), done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 17 (delta 0), reused 0 (delta 0), pack-reused 14
展開物件中: 100% (17/17), 28.80 KiB | 111.00 KiB/s, 完成.
來自 https://gitee.com/xmake-io/xmake-core-lua-cjson
* branch ddcecf3b24b71421e7b4a2962f1fbcc0297e0c1e -> FETCH_HEAD
子模組路徑「core/src/lua-cjson/lua-cjson」:已簽出「ddcecf3b24b71421e7b4a2962f1fbcc0297e0c1e」
remote: Enumerating objects: 3967, done.
remote: Counting objects: 100% (3967/3967), done.
remote: Compressing objects: 100% (921/921), done.
remote: Total 3967 (delta 3046), reused 3967 (delta 3046), pack-reused 0
接收物件中: 100% (3967/3967), 4.81 MiB | 2.84 MiB/s, 完成.
處理 delta 中: 100% (3046/3046), 完成 62 個本機物件.
來自 https://gitee.com/xmake-io/xmake-core-lua
* branch eadd8c7178c79c814ecca9652973a9b9dd4cc71b ->
FETCH_HEAD
子模組路徑「core/src/lua/lua」:已簽出「eadd8c7178c79c814ecca9652973a9b9dd4cc71b」
remote: Enumerating objects: 1626, done.
remote: Counting objects: 100% (1079/1079), done.
remote: Compressing objects: 100% (2/2), done.
remote: Total 1626 (delta 1078), reused 1077 (delta 1077), pack-reused 547
接收物件中: 100% (1626/1626), 668.88 KiB | 1.43 MiB/s, 完成.
處理 delta 中: 100% (1358/1358), 完成 342 個本機物件.
來自 https://gitee.com/xmake-io/xmake-core-luajit
* branch e9af1abec542e6f9851ff2368e7f196b6382a44c ->
FETCH_HEAD
子模組路徑「core/src/luajit/luajit」:已簽出「e9af1abec542e6f9851ff2368e7f196b6382a44c」
子模組路徑「core/src/lz4/lz4」:已簽出「033606ef259ef2852f6ae1e8ec7a10c641417654」
子模組路徑「core/src/pdcurses/pdcurses」:已簽出「5a522dc7ac23b8571f68851b844d3dd4dc6a67a5」
子模組路徑「core/src/sv/sv」:已簽出「035262773da0500367cb88e6f30197908159a348」
子模組路徑「core/src/tbox/tbox」:已簽出「a05b189ab66d3b3062e855e773fb02132d7116b4」
getconf: LONG_BIT: unknown variable
getconf: LONG_BIT: unknown variable
compiling xmake-core ...
getconf: LONG_BIT: unknown variable
getconf: LONG_BIT: unknown variable
=============================================================================
compile:
plat: bsd
arch: x
host: bsd
demo: y
prof: n
debug: n
small: n
ccache:
distcc:
branch: dev
commit: 4feb80d
luajit: jit
packages:
tbox: y
luajit: y
lua: y
base: y
directories:
install:
package:
backend: lua
toolchains:
bin:
pre:
sdk:
flags:
cflag:
ccflag:
cxflag:
mflag:
mmflag:
mxflag:
ldflag:
asflag:
arflag:
shflag:
clean xmake
clean lua
clean lcurses
clean sv
clean lua-cjson
clean lz4
clean tbox
clean xmake
clean demo
make xmake
make lua
compile.r lua/lapi.c
compile.r lua/lauxlib.c
compile.r lua/lbaselib.c
compile.r lua/lcode.c
compile.r lua/lcorolib.c
compile.r lua/lctype.c
compile.r lua/ldblib.c
compile.r lua/ldebug.c
compile.r lua/ldo.c
compile.r lua/ldump.c
compile.r lua/lfunc.c
compile.r lua/lgc.c
compile.r lua/linit.c
compile.r lua/liolib.c
compile.r lua/llex.c
compile.r lua/lmathlib.c
compile.r lua/lmem.c
compile.r lua/loadlib.c
compile.r lua/lobject.c
compile.r lua/lopcodes.c
compile.r lua/loslib.c
compile.r lua/lparser.c
compile.r lua/lstate.c
compile.r lua/lstring.c
compile.r lua/lstrlib.c
compile.r lua/ltable.c
compile.r lua/ltablib.c
compile.r lua/ltests.c
compile.r lua/ltm.c
compile.r lua/lundump.c
compile.r lua/lutf8lib.c
compile.r lua/lvm.c
compile.r lua/lzio.c
link libluar.a
make lcurses
compile.r lcurses.c
link liblcursesr.a
make sv
compile.r sv/src/comp.c
compile.r sv/src/id.c
compile.r sv/src/num.c
compile.r sv/src/range.c
compile.r sv/src/semvers.c
compile.r sv/src/utils.c
compile.r sv/src/version.c
link libsvr.a
make lua-cjson
compile.r lua-cjson/dtoa.c
compile.r lua-cjson/g_fmt.c
compile.r lua-cjson/lua_cjson.c
compile.r lua-cjson/strbuf.c
link liblua-cjsonr.a
make lz4
compile.r lz4/lib/lz4.c
compile.r lz4/lib/lz4frame.c
compile.r lz4/lib/lz4hc.c
compile.r lz4/lib/xxhash.c
link liblz4r.a
make tbox
compile.r tbox/src/tbox/algorithm/binary_find.c
compile.r tbox/src/tbox/algorithm/binary_find_if.c
compile.r tbox/src/tbox/algorithm/bubble_sort.c
compile.r tbox/src/tbox/algorithm/count.c
compile.r tbox/src/tbox/algorithm/count_if.c
compile.r tbox/src/tbox/algorithm/distance.c
compile.r tbox/src/tbox/algorithm/find.c
compile.r tbox/src/tbox/algorithm/find_if.c
compile.r tbox/src/tbox/algorithm/heap_sort.c
compile.r tbox/src/tbox/algorithm/insert_sort.c
compile.r tbox/src/tbox/algorithm/predicate.c
compile.r tbox/src/tbox/algorithm/quick_sort.c
compile.r tbox/src/tbox/algorithm/remove.c
compile.r tbox/src/tbox/algorithm/remove_first.c
compile.r tbox/src/tbox/algorithm/remove_first_if.c
compile.r tbox/src/tbox/algorithm/remove_if.c
compile.r tbox/src/tbox/algorithm/rfind.c
compile.r tbox/src/tbox/algorithm/rfind_if.c
compile.r tbox/src/tbox/algorithm/rwalk.c
compile.r tbox/src/tbox/algorithm/sort.c
compile.r tbox/src/tbox/algorithm/walk.c
compile.r tbox/src/tbox/charset/ascii.c
compile.r tbox/src/tbox/charset/charset.c
compile.r tbox/src/tbox/charset/gb2312.c
compile.r tbox/src/tbox/charset/iso8859.c
compile.r tbox/src/tbox/charset/ucs2.c
compile.r tbox/src/tbox/charset/ucs4.c
compile.r tbox/src/tbox/charset/utf16.c
compile.r tbox/src/tbox/charset/utf32.c
compile.r tbox/src/tbox/charset/utf8.c
compile.r tbox/src/tbox/container/array_iterator.c
compile.r tbox/src/tbox/container/bloom_filter.c
compile.r tbox/src/tbox/container/circle_queue.c
compile.r tbox/src/tbox/container/element/hash.c
compile.r tbox/src/tbox/container/element/long.c
compile.r tbox/src/tbox/container/element/mem.c
compile.r tbox/src/tbox/container/element/null.c
compile.r tbox/src/tbox/container/element/ptr.c
compile.r tbox/src/tbox/container/element/size.c
compile.r tbox/src/tbox/container/element/str.c
compile.r tbox/src/tbox/container/element/true.c
compile.r tbox/src/tbox/container/element/uint16.c
compile.r tbox/src/tbox/container/element/uint32.c
compile.r tbox/src/tbox/container/element/uint8.c
compile.r tbox/src/tbox/container/hash_map.c
compile.r tbox/src/tbox/container/hash_set.c
compile.r tbox/src/tbox/container/heap.c
compile.r tbox/src/tbox/container/iterator.c
compile.r tbox/src/tbox/container/list.c
compile.r tbox/src/tbox/container/list_entry.c
compile.r tbox/src/tbox/container/priority_queue.c
compile.r tbox/src/tbox/container/queue.c
compile.r tbox/src/tbox/container/single_list.c
compile.r tbox/src/tbox/container/single_list_entry.c
compile.r tbox/src/tbox/container/stack.c
compile.r tbox/src/tbox/container/vector.c
compile.r tbox/src/tbox/hash/adler32.c
compile.r tbox/src/tbox/hash/bkdr.c
compile.r tbox/src/tbox/hash/fnv32.c
compile.r tbox/src/tbox/hash/md5.c
compile.r tbox/src/tbox/hash/sha.c
compile.r tbox/src/tbox/hash/uuid.c
compile.r tbox/src/tbox/libc/impl/libc.c
compile.r tbox/src/tbox/libc/misc/time/gmmktime.c
compile.r tbox/src/tbox/libc/misc/time/gmtime.c
compile.r tbox/src/tbox/libc/misc/time/localtime.c
compile.r tbox/src/tbox/libc/misc/time/mktime.c
compile.r tbox/src/tbox/libc/misc/time/time.c
compile.r tbox/src/tbox/libc/stdio/printf.c
compile.r tbox/src/tbox/libc/stdio/printf_object.c
compile.r tbox/src/tbox/libc/stdio/puts.c
compile.r tbox/src/tbox/libc/stdio/snprintf.c
compile.r tbox/src/tbox/libc/stdio/sprintf.c
compile.r tbox/src/tbox/libc/stdio/swprintf.c
compile.r tbox/src/tbox/libc/stdio/vsnprintf.c
compile.r tbox/src/tbox/libc/stdio/vswprintf.c
compile.r tbox/src/tbox/libc/stdio/wprintf.c
compile.r tbox/src/tbox/libc/stdio/wputs.c
compile.r tbox/src/tbox/libc/stdlib/mbstowcs.c
compile.r tbox/src/tbox/libc/stdlib/random.c
compile.r tbox/src/tbox/libc/stdlib/stdlib.c
compile.r tbox/src/tbox/libc/stdlib/wcstombs.c
compile.r tbox/src/tbox/libc/string/memcmp.c
compile.r tbox/src/tbox/libc/string/memcpy.c
compile.r tbox/src/tbox/libc/string/memdup.c
compile.r tbox/src/tbox/libc/string/memmem.c
compile.r tbox/src/tbox/libc/string/memmov.c
compile.r tbox/src/tbox/libc/string/memset.c
compile.r tbox/src/tbox/libc/string/strcat.c
compile.r tbox/src/tbox/libc/string/strchr.c
compile.r tbox/src/tbox/libc/string/strcmp.c
compile.r tbox/src/tbox/libc/string/strcpy.c
compile.r tbox/src/tbox/libc/string/strdup.c
compile.r tbox/src/tbox/libc/string/strichr.c
compile.r tbox/src/tbox/libc/string/stricmp.c
compile.r tbox/src/tbox/libc/string/strirchr.c
compile.r tbox/src/tbox/libc/string/strirstr.c
compile.r tbox/src/tbox/libc/string/stristr.c
compile.r tbox/src/tbox/libc/string/strlcpy.c
compile.r tbox/src/tbox/libc/string/strlen.c
compile.r tbox/src/tbox/libc/string/strncat.c
compile.r tbox/src/tbox/libc/string/strnchr.c
compile.r tbox/src/tbox/libc/string/strncmp.c
compile.r tbox/src/tbox/libc/string/strncpy.c
compile.r tbox/src/tbox/libc/string/strndup.c
compile.r tbox/src/tbox/libc/string/strnicmp.c
compile.r tbox/src/tbox/libc/string/strnirchr.c
compile.r tbox/src/tbox/libc/string/strnirstr.c
compile.r tbox/src/tbox/libc/string/strnistr.c
compile.r tbox/src/tbox/libc/string/strnlen.c
compile.r tbox/src/tbox/libc/string/strnrchr.c
compile.r tbox/src/tbox/libc/string/strnrstr.c
compile.r tbox/src/tbox/libc/string/strnstr.c
compile.r tbox/src/tbox/libc/string/strrchr.c
compile.r tbox/src/tbox/libc/string/strrstr.c
compile.r tbox/src/tbox/libc/string/strstr.c
compile.r tbox/src/tbox/libc/string/wcscat.c
compile.r tbox/src/tbox/libc/string/wcschr.c
compile.r tbox/src/tbox/libc/string/wcscmp.c
compile.r tbox/src/tbox/libc/string/wcscpy.c
compile.r tbox/src/tbox/libc/string/wcsdup.c
compile.r tbox/src/tbox/libc/string/wcsichr.c
compile.r tbox/src/tbox/libc/string/wcsicmp.c
compile.r tbox/src/tbox/libc/string/wcsirchr.c
compile.r tbox/src/tbox/libc/string/wcsirstr.c
compile.r tbox/src/tbox/libc/string/wcsistr.c
compile.r tbox/src/tbox/libc/string/wcslcpy.c
compile.r tbox/src/tbox/libc/string/wcslen.c
compile.r tbox/src/tbox/libc/string/wcsncat.c
compile.r tbox/src/tbox/libc/string/wcsncmp.c
compile.r tbox/src/tbox/libc/string/wcsncpy.c
compile.r tbox/src/tbox/libc/string/wcsndup.c
compile.r tbox/src/tbox/libc/string/wcsnicmp.c
compile.r tbox/src/tbox/libc/string/wcsnirchr.c
compile.r tbox/src/tbox/libc/string/wcsnirstr.c
compile.r tbox/src/tbox/libc/string/wcsnlen.c
compile.r tbox/src/tbox/libc/string/wcsnrchr.c
compile.r tbox/src/tbox/libc/string/wcsnrstr.c
compile.r tbox/src/tbox/libc/string/wcsrchr.c
compile.r tbox/src/tbox/libc/string/wcsrstr.c
compile.r tbox/src/tbox/libc/string/wcsstr.c
compile.r tbox/src/tbox/libm/cos.c
compile.r tbox/src/tbox/libm/cosf.c
compile.r tbox/src/tbox/libm/exp.c
compile.r tbox/src/tbox/libm/idivi8.c
compile.r tbox/src/tbox/libm/ilog2i.c
compile.r tbox/src/tbox/libm/impl/libm.c
compile.r tbox/src/tbox/libm/isfin.c
compile.r tbox/src/tbox/libm/isfinf.c
compile.r tbox/src/tbox/libm/isinf.c
compile.r tbox/src/tbox/libm/isinff.c
compile.r tbox/src/tbox/libm/isnan.c
compile.r tbox/src/tbox/libm/isnanf.c
compile.r tbox/src/tbox/libm/isqrti.c
compile.r tbox/src/tbox/libm/pow.c
compile.r tbox/src/tbox/libm/sqrtf.c
compile.r tbox/src/tbox/math/impl/math.c
compile.r tbox/src/tbox/math/random/linear.c
compile.r tbox/src/tbox/math/random/random.c
compile.r tbox/src/tbox/memory/allocator.c
compile.r tbox/src/tbox/memory/buffer.c
compile.r tbox/src/tbox/memory/default_allocator.c
compile.r tbox/src/tbox/memory/fixed_pool.c
compile.r tbox/src/tbox/memory/impl/memory.c
compile.r tbox/src/tbox/memory/impl/native_large_allocator.c
compile.r tbox/src/tbox/memory/impl/prefix.c
compile.r tbox/src/tbox/memory/impl/static_fixed_pool.c
compile.r tbox/src/tbox/memory/impl/static_large_allocator.c
compile.r tbox/src/tbox/memory/large_allocator.c
compile.r tbox/src/tbox/memory/native_allocator.c
compile.r tbox/src/tbox/memory/queue_buffer.c
compile.r tbox/src/tbox/memory/small_allocator.c
compile.r tbox/src/tbox/memory/static_allocator.c
compile.r tbox/src/tbox/memory/static_buffer.c
compile.r tbox/src/tbox/memory/string_pool.c
compile.r tbox/src/tbox/network/cookies.c
compile.r tbox/src/tbox/network/dns/cache.c
compile.r tbox/src/tbox/network/dns/looker.c
compile.r tbox/src/tbox/network/dns/server.c
compile.r tbox/src/tbox/network/http.c
compile.r tbox/src/tbox/network/hwaddr.c
compile.r tbox/src/tbox/network/impl/http/date.c
compile.r tbox/src/tbox/network/impl/http/method.c
compile.r tbox/src/tbox/network/impl/http/option.c
compile.r tbox/src/tbox/network/impl/http/status.c
compile.r tbox/src/tbox/network/impl/network.c
compile.r tbox/src/tbox/network/ipaddr.c
compile.r tbox/src/tbox/network/ipv4.c
compile.r tbox/src/tbox/network/ipv6.c
compile.r tbox/src/tbox/network/unixaddr.c
compile.r tbox/src/tbox/network/url.c
compile.r tbox/src/tbox/platform/addrinfo.c
compile.r tbox/src/tbox/platform/atomic64.c
compile.r tbox/src/tbox/platform/backtrace.c
compile.r tbox/src/tbox/platform/cache_time.c
compile.r tbox/src/tbox/platform/cpu.c
compile.r tbox/src/tbox/platform/directory.c
compile.r tbox/src/tbox/platform/dynamic.c
compile.r tbox/src/tbox/platform/environment.c
compile.r tbox/src/tbox/platform/event.c
compile.r tbox/src/tbox/platform/file.c
compile.r tbox/src/tbox/platform/filelock.c
compile.r tbox/src/tbox/platform/fwatcher.c
compile.r tbox/src/tbox/platform/hostname.c
compile.r tbox/src/tbox/platform/ifaddrs.c
compile.r tbox/src/tbox/platform/impl/charset.c
compile.r tbox/src/tbox/platform/impl/dns.c
compile.r tbox/src/tbox/platform/impl/platform.c
compile.r tbox/src/tbox/platform/impl/pollerdata.c
compile.r tbox/src/tbox/platform/ltimer.c
compile.r tbox/src/tbox/platform/mutex.c
compile.r tbox/src/tbox/platform/native_memory.c
compile.r tbox/src/tbox/platform/page.c
compile.r tbox/src/tbox/platform/path.c
compile.r tbox/src/tbox/platform/pipe.c
compile.r tbox/src/tbox/platform/poller.c
compile.r tbox/src/tbox/platform/print.c
compile.r tbox/src/tbox/platform/process.c
compile.r tbox/src/tbox/platform/sched.c
compile.r tbox/src/tbox/platform/semaphore.c
compile.r tbox/src/tbox/platform/socket.c
compile.r tbox/src/tbox/platform/stdfile.c
compile.r tbox/src/tbox/platform/syserror.c
compile.r tbox/src/tbox/platform/thread.c
compile.r tbox/src/tbox/platform/thread_local.c
compile.r tbox/src/tbox/platform/time.c
compile.r tbox/src/tbox/platform/timer.c
compile.r tbox/src/tbox/platform/virtual_memory.c
compile.r tbox/src/tbox/prefix/state.c
compile.r tbox/src/tbox/stream/filter.c
compile.r tbox/src/tbox/stream/impl/filter/cache.c
compile.r tbox/src/tbox/stream/impl/filter/charset.c
compile.r tbox/src/tbox/stream/impl/filter/chunked.c
compile.r tbox/src/tbox/stream/impl/stream/data.c
compile.r tbox/src/tbox/stream/impl/stream/file.c
compile.r tbox/src/tbox/stream/impl/stream/filter.c
compile.r tbox/src/tbox/stream/impl/stream/http.c
compile.r tbox/src/tbox/stream/impl/stream/sock.c
compile.r tbox/src/tbox/stream/static_stream.c
compile.r tbox/src/tbox/stream/stream.c
compile.r tbox/src/tbox/stream/transfer.c
compile.r tbox/src/tbox/string/static_string.c
compile.r tbox/src/tbox/string/string.c
compile.r tbox/src/tbox/tbox.c
compile.r tbox/src/tbox/utils/base32.c
compile.r tbox/src/tbox/utils/base64.c
compile.r tbox/src/tbox/utils/bits.c
compile.r tbox/src/tbox/utils/dump.c
compile.r tbox/src/tbox/utils/lock_profiler.c
compile.r tbox/src/tbox/utils/singleton.c
compile.r tbox/src/tbox/utils/trace.c
compile.r tbox/src/tbox/utils/url.c
compile.r tbox/src/tbox/utils/used.c
link libtboxr.a
make xmake
compile.r base64/decode.c
compile.r base64/encode.c
compile.r bloom_filter/bloom_filter_clear.c
compile.r bloom_filter/bloom_filter_close.c
compile.r bloom_filter/bloom_filter_data.c
compile.r bloom_filter/bloom_filter_data_set.c
compile.r bloom_filter/bloom_filter_get.c
compile.r bloom_filter/bloom_filter_open.c
compile.r bloom_filter/bloom_filter_set.c
compile.r bloom_filter/bloom_filter_size.c
compile.r engine.c
compile.r fwatcher/add.c
compile.r fwatcher/close.c
compile.r fwatcher/open.c
compile.r fwatcher/remove.c
compile.r fwatcher/wait.c
compile.r hash/md5.c
compile.r hash/sha.c
compile.r hash/uuid4.c
compile.r hash/xxhash.c
compile.r io/file_close.c
compile.r io/file_flush.c
compile.r io/file_isatty.c
compile.r io/file_open.c
compile.r io/file_rawfd.c
compile.r io/file_read.c
compile.r io/file_readable.c
compile.r io/file_seek.c
compile.r io/file_size.c
compile.r io/file_write.c
compile.r io/filelock_close.c
compile.r io/filelock_lock.c
compile.r io/filelock_open.c
compile.r io/filelock_trylock.c
compile.r io/filelock_unlock.c
compile.r io/pipe_close.c
compile.r io/pipe_connect.c
compile.r io/pipe_open.c
compile.r io/pipe_openpair.c
compile.r io/pipe_read.c
compile.r io/pipe_wait.c
compile.r io/pipe_write.c
compile.r io/poller.c
compile.r io/poller_insert.c
compile.r io/poller_modify.c
compile.r io/poller_remove.c
compile.r io/poller_spank.c
compile.r io/poller_support.c
compile.r io/poller_wait.c
compile.r io/socket_accept.c
compile.r io/socket_bind.c
compile.r io/socket_close.c
compile.r io/socket_connect.c
compile.r io/socket_ctrl.c
compile.r io/socket_listen.c
compile.r io/socket_open.c
compile.r io/socket_peeraddr.c
compile.r io/socket_rawfd.c
compile.r io/socket_recv.c
compile.r io/socket_recvfrom.c
compile.r io/socket_send.c
compile.r io/socket_sendfile.c
compile.r io/socket_sendto.c
compile.r io/socket_wait.c
compile.r io/stdfile.c
compile.r libc/byteof.c
compile.r libc/dataptr.c
compile.r libc/free.c
compile.r libc/malloc.c
compile.r libc/memcpy.c
compile.r libc/memmov.c
compile.r libc/memset.c
compile.r libc/setbyte.c
compile.r libc/strndup.c
compile.r lz4/block_compress.c
compile.r lz4/block_decompress.c
compile.r lz4/compress.c
compile.r lz4/compress_file.c
compile.r lz4/compress_stream_close.c
compile.r lz4/compress_stream_open.c
compile.r lz4/compress_stream_read.c
compile.r lz4/compress_stream_write.c
compile.r lz4/decompress.c
compile.r lz4/decompress_file.c
compile.r lz4/decompress_stream_close.c
compile.r lz4/decompress_stream_open.c
compile.r lz4/decompress_stream_read.c
compile.r lz4/decompress_stream_write.c
compile.r os/args.c
compile.r os/argv.c
compile.r os/chdir.c
compile.r os/cpdir.c
compile.r os/cpfile.c
compile.r os/cpuinfo.c
compile.r os/curdir.c
compile.r os/emptydir.c
compile.r os/exists.c
compile.r os/filesize.c
compile.r os/find.c
compile.r os/getenv.c
compile.r os/getenvs.c
compile.r os/getown.c
compile.r os/getpid.c
compile.r os/getwinsize.c
compile.r os/gid.c
compile.r os/isdir.c
compile.r os/isfile.c
compile.r os/islink.c
compile.r os/link.c
compile.r os/mclock.c
compile.r os/meminfo.c
compile.r os/mkdir.c
compile.r os/mtime.c
compile.r os/readlink.c
compile.r os/rename.c
compile.r os/rmdir.c
compile.r os/rmfile.c
compile.r os/setenv.c
compile.r os/sleep.c
compile.r os/strerror.c
compile.r os/syserror.c
compile.r os/tmpdir.c
compile.r os/touch.c
compile.r os/uid.c
compile.r path/absolute.c
compile.r path/directory.c
compile.r path/is_absolute.c
compile.r path/relative.c
compile.r path/translate.c
compile.r process/close.c
compile.r process/kill.c
compile.r process/open.c
compile.r process/openv.c
compile.r process/wait.c
compile.r readline/add_history.c
compile.r readline/clear_history.c
compile.r readline/history_list.c
compile.r readline/readline.c
compile.r sandbox/interactive.c
compile.r semver/compare.c
compile.r semver/parse.c
compile.r semver/satisfies.c
compile.r semver/select.c
compile.r semver/semver.c
compile.r string/convert.c
compile.r string/endswith.c
compile.r string/lastof.c
compile.r string/split.c
compile.r string/startswith.c
compile.r string/trim.c
compile.r tty/term_mode.c
compile.r xmake.c
link libxmaker.a
make demo
compile.r xmake.c
link demo.b
gmake[3]: *** [/tmp/.xmake_getter13895/core/suffix.mak:309:demo.b] 錯誤 1
gmake[2]: ***
[/tmp/.xmake_getter13895/core/suffix.mak:309:SUB_PROS_demo_all] 錯誤 2
ld: error: unable to find library -ldl
cc: error: linker command failed with exit code 1 (use -v to see invocation)
getconf: LONG_BIT: unknown variable
getconf: LONG_BIT: unknown variable
installing to /home/niko/.local ...
plat: bsd
arch: x
cp: ./core/src/demo/demo.b: No such file or directory
gmake: *** [makefile:122:install] 錯誤 1
Install Fail
☁ ~
…On 2022/10/21 15:37, ruki wrote:
Does it work now?
—
Reply to this email directly, view it on GitHub
<#2948 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFKCVUXADMCCKHUNGTNKUB3WEJB4ZANCNFSM6AAAAAARJV7N3I>.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
再试下,应该可以了 |
It works.
…On 2022/10/24 15:07, ruki wrote:
再试下,应该可以了
—
Reply to this email directly, view it on GitHub
<#2948 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFKCVUQHERNKKQH6GCEFD6LWEYYT7ANCNFSM6AAAAAARJV7N3I>.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Xmake Version
2.7.2
Operating System Version and Architecture
OpenBSD 7.2 amd64
Describe Bug
I tried installing xmake on OpenBSD, following the manual: https://xmake.io/#/guide/installation, I got:
Expected Behavior
Compile without error(s).
Project Configuration
No response
Additional Information and Error Logs
No response
The text was updated successfully, but these errors were encountered: