一半君的总结纸

听话只听一半君

CentOS 6.4 x64下无root rebuild pidgin-lwqq, 如何才能得到portable 的pidgin ?

三天两头挂掉,不时需要rebuild… 把之前备份的compile过的目录解压出来,然后…

cd pidgin-lwqq
git pull --all
git submodule update
cd build
rm -rf *
setenv PKG_CONFIG_PATH /usr/tmp/tmp/pidgin-2.10.7-install/lib/pkgconfig:{$PKG_CONFIG_PATH}
cmake .. -DWITH_LIBEV=ON
make
make install DESTDIR=/usr/tmp/tmp/pidgin-lwqq-install

make之前在这三处link.txt里添加 -L/usr/tmp/tmp/pidgin-2.10.7-install/lib 我已经设了LD_LIBRARY_PATH了,可是他偏不去那里找mozjs185,应该是在哪设个 ldflags 就可以了,可是我不是程序员不会,求正确方法指点… 现在只好用手动脑残法
mozjs185

pidgin 乱搞

./configure --disable-screensaver --disable-gtkspell --disable-vv --disable-meanwhile --disable-avahi --disable-nm --prefix=$HOME/apps/pidgin-2.10.9

想搞成portable的没成功

setenv LDFLAGS '-static -Wl,-rpath,\$$ORIGIN/../lib'
./configure --disable-screensaver --disable-gtkspell --disable-vv --disable-meanwhile --disable-avahi --disable-nm --prefix=/usr/tmp/tmp/pidgin-2.10.9-install --disable-sm --disable-perl --with-static-prpls=jabber,gg,irc,msn,myspace,mxit,novell,oscar,simple,yahoo,zephyr

edit: 脑残了,为啥不用$Home放在–prefix里试试

Advertisements

发表评论

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / 更改 )

Twitter picture

You are commenting using your Twitter account. Log Out / 更改 )

Facebook photo

You are commenting using your Facebook account. Log Out / 更改 )

Google+ photo

You are commenting using your Google+ account. Log Out / 更改 )

Connecting to %s

%d 博主赞过: