Comments (12)
When running ./build_linux.sh with the latest sources, this is the output I get, btw:
% ./build_linux.sh
build liteide
QTDIR=/opt/qt
GOROOT=
BUILD_ROOT=/home/alexander/checkout/liteide/build
LITEIDE_ROOT=/home/alexander/checkout/liteide/build/../liteidex
.
qmake liteide ...
.
make liteide ...
.
g++ -o liteidex -L/opt/qt/lib -L/usr/X11R6/lib -lqt-mt -lXext -lX11 -lm
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../lib/crt1.o: In function `_start':
(.text+0x20): undefined reference to `main'
collect2: error: ld returned 1 exit status
make: *** [liteidex] Error 1
error, make fail
from liteide.
comment the liteidex build (build_linux.sh)
build_linux.sh
webkit_linux.sh
2012/12/20 Alexander Rødseth [email protected]
When running ./build_linux.sh with the latest source release, this is the
output I get, btw:{{{
% ./build_linux.sh
build liteide
QTDIR=/opt/qt
GOROOT=
BUILD_ROOT=/home/alexander/checkout/liteide/build
LITEIDE_ROOT=/home/alexander/checkout/liteide/build/../liteidex
.
qmake liteide ...
.
make liteide ...
.
g++ -o liteidex -L/opt/qt/lib -L/usr/X11R6/lib -lqt-mt -lXext -lX11 -lm
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../lib/crt1.o: In
function _start':
(.text+0x20): undefined reference tomain'
collect2: error: ld returned 1 exit status
make: *** [liteidex] Error 1
error, make fail
}}}—
Reply to this email directly or view it on GitHubhttps://github.com//issues/23#issuecomment-11543968.
from liteide.
When commenting out "make" which follows "echo make liteide ..." and "echo ." in build_linux.sh, this is the output I get when running ./build_linux.sh, from the latest git revision:
build liteide
QTDIR=/opt/qt
GOROOT=
BUILD_ROOT=/home/alexander/checkout/liteide/build
LITEIDE_ROOT=/home/alexander/checkout/liteide/build/../liteidex
.
qmake liteide ...
.
make liteide ...
.
go version go1.0.3
build liteide tools ...
can't load package: package tools/goapi: no Go source files in /home/alexander/checkout/liteide/liteidex/src/tools/goapi
error, go install fail
from liteide.
fixit b079ac7
from liteide.
Thanks! Now it builds if I run with
QTDIR=/usr ./build_linux.sh
Btw, is this line missing from the bottom of build_linux.sh, or is it not needed?
cp -a -v $QTDIR/lib/libQtNetwork.so* liteide/lib/liteide
from liteide.
if load plugin/webkithtmlwidget , use webkit_linux.sh
from liteide.
When running webkit_linux.sh instead, this is the errors I get:
build liteide
QTDIR=/usr
GOROOT=
BUILD_ROOT=/home/alexander/archpackages/community/golangide/trunk/src/liteide-master/build
LITEIDE_ROOT=/home/alexander/archpackages/community/golangide/trunk/src/liteide-master/build/../liteidex
.
cp: target «liteide/lib/liteide» is not a directory
cp: target «liteide/lib/liteide» is not a directory
cp: target «liteide/lib/liteide» is not a directory
cp: target «liteide/lib/liteide» is not a directory
Should one run build_linux.sh and then webkit_linux.sh?
from liteide.
Tried running both. This seems to work:
chmod +x build_linux.sh webkit_linux.sh
QTDIR=/usr build_linux.sh
QTDIR=/usr webkit_linux.sh
The "good old" ./configure; make or something modern like waf could have been nice, though. :)
from liteide.
Okay, it builds now, but when running, I get this error:
liteidex [/usr/bin/liteidex]
/usr/bin/liteidex: symbol lookup error: /usr/lib/liteide/plugins/libgolangdoc.so: undefined symbol: _ZN5QJson6ParserC1Ev
qjson 0.8.1 is installed here, and /usr/lib/libqjson.so exists and apparently it does provide this symbol:
nm -D /usr/lib/libqjson.so | grep Json6ParserC1Ev
000000000000b770 T _ZN5QJson6ParserC1Ev
from liteide.
Ok, found a workaround, it starts now:
LD_PRELOAD=/usr/lib/libqjson.so /usr/bin/liteidex
But, this is a bit ugly. What would you suggest for fixing this?
Thank you.
from liteide.
3rdparty/qjson use staticlib
https://github.com/visualfc/liteide/blob/master/liteidex/src/3rdparty/qjson/src/src.pro
from liteide.
Is there something wrong with the qjson that is installed on the system? Why should it have to be statically linked?
from liteide.
Related Issues (20)
- Feature Request: Support for remote dlv debugging
- 语法错误提示
- Debugging a single file?
- Failed to set system.env environment HOT 1
- GOPATH and other env can't be phrase correctly. HOT 2
- "Bookmarks", Line numbers are mixed with bookmarks description
- go1.21后自动提示功能不行了 HOT 1
- Impossible to type { HOT 1
- TARGETARGS不生效
- 官网被劫持了吗? HOT 1
- Clamav Virus Report - Unix.Malware.Kaiji-10013464-0 FOUND HOT 1
- toolchain
- 能再集成git操作就更好了
- 如何减小编译后二进制文件的大小?
- ChatGPT plugin support
- CamelCase / snake_case navigation in object names
- Color highlighting for all occurrences of data type
- X38.3, 重命名符号(Module), 搜索出来的不全. HOT 1
- 没有调试功能? HOT 1
- X38.3, 重命名符号(Module), 搜索出来的不全 HOT 3
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 liteide.