LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 12-16-2006, 11:55 PM   #1
nhatkhang
LQ Newbie
 
Registered: Oct 2006
Posts: 9

Rep: Reputation: 0
portable projects


hi
i have a new problem.
my kdevelop project is working well on my pc. i want to share it with my partner, but he couldn't normaly build my project on his pc. First, errors because the project path, it was not the same to the original project, tried to edit and errors for "required INSTALL, README, COPYING, AUTHORS, NEWS" although the project already contains those files in lowercase name, tried to edit, and couldn't build.......!!!

i got a solution but it seems to be so bad.
i create a new project, named the same with the original one. then i remove all the source files after that add all existing source files from the original one. it was working.

is there anybody tell me a better solution ?

nhatkhang
 
Old 12-19-2006, 03:54 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,539

Rep: Reputation: 149Reputation: 149
You should be able to remove all full paths from the project settings, leave only those relative to projekct dir. Then it should easily compile on another machine.

It's hard to say where you have the absolute paths. Look into the project settings carefully, also check if you don't have specific things in environmental variables etc. Which language is it? Have you started from a template?
 
Old 12-20-2006, 07:30 AM   #3
nhatkhang
LQ Newbie
 
Registered: Oct 2006
Posts: 9

Original Poster
Rep: Reputation: 0
i'm using kdevelop 3.2, my project is a C++ KDE project, it actually was created by a template "base on Design"

this project uses a .so library, and LD_LIBRARY_PATH.

the path of the project in many files of project(some Makefile and some other files), it's hard to edit all the paths in those files. i even had tried but nothing was better.

there is an idea, "copy only source files, Makefile.am files , configure.in.in file into the same tree file and then build that project by import existing project"

and another is that "use Distribution & Publishing plug-in of KDevelop"

i have tried the 2 above, but it was hard to do like they do, i'm still in trouble.
 
Old 12-21-2006, 11:36 AM   #4
nhatkhang
LQ Newbie
 
Registered: Oct 2006
Posts: 9

Original Poster
Rep: Reputation: 0
i got it. In KDevelop, there's a plug-in "Distribution and Publishing project". in order to copy project, i need to Create Source Archieve (tar file) and copy this file to away pc. on that pc, i extract this file, and compile the project by "import existing project".
at last, i run configure, atuomake&friend, install. and some settings for the working path for running. That's all.

thank you
nhatkhang
 
  


Reply

Tags
kdevelop


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Some projects? crazy8 Red Hat 11 12-06-2006 01:41 PM
Projects shivaligupta Programming 1 01-31-2005 08:29 AM
Regarding Projects... coolguy_iiit Linux - General 1 10-07-2004 07:16 AM
C++ Projects? lramos85 Programming 7 02-27-2004 09:24 AM
Newbie Needs Projects!!! ferretmanus Linux - Newbie 11 12-20-2003 08:32 PM


All times are GMT -5. The time now is 08:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration