Featured post

c# - Usage of Server Side Controls in MVC Frame work -

i using asp.net 4.0 , mvc 2.0 web application. project requiremrnt have use server side control in application not possibl in noraml case. ideally want use adrotator control , datalist control. i saw few samples , references in codepleax mvc controllib howwver found less useful. can tell how utilize theese controls in asp.net application along mvc. note: please provide functionalities related adrotator , datalist controls not equivalent functionalities thanks in advace. mvc pages not use normal .net solution makes use of normal .net components impossible. a normal .net page use event driven solution call different methods service side mvc use actions , view completly different way handle things. also, mvc not use viewstate normal .net controlls require. found article discussing mixing of normal .net , mvc.

django - Install Xapian for Python 2.6 on CentOS 5.5 -


i'm using django 1.2 python 2.6 on centos 5.5 , i'm trying install django haystack xapian search backend. i've followed installation instructions on http://docs.haystacksearch.org/dev/installing_search_engines.html#xapian , instructions redhat enterprise linux rpm package on http://xapian.org/download. xapian has installed, has attached python 2.4, needs present in centos other reasons. so, if go 'python' shell , 'import xapian' works correctly, if go 'python26' shell , 'import xapian' error 'no module named xapian'.

i tried creating symlink in python 2.6 site packages xapian in python 2.4 site packages , gave me following error when trying import xapian in python 2.6 shell:
runtimewarning: python c api version mismatch module _xapian: python has api version 1013, module _xapian has version 1012.

i've tried specify python library use when configuring xapian-core seen on http://invisibleroads.com/tutorials/xapian-search-pylons.html#install-xapian-on-webfaction, command used was:
./configure python=/usr/bin/python2.6
installing xapian-bindings used:
./configure python=/usr/bin/python26 python_lib=/usr/lib/python2.6 --with-python
made no discernible difference i'm bit stuck @ moment. have ideas?

when building xapian-bindings package you'll want ./configure --with-python python=/usr/bin/python2.6 sounds trying on xapian-core, isn't right place.


Comments

Popular posts from this blog

c# - Usage of Server Side Controls in MVC Frame work -

cocoa - Nesting arrays into NSDictionary object (Objective-C) -

ios - Very simple iPhone App crashes on UILabel settext -