Help answer threads with 0 replies.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
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.


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

Rep: Reputation: 0
portable projects

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 ?

Old 12-19-2006, 02:54 PM   #2
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,545

Rep: Reputation: 160Reputation: 160
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, 06:30 AM   #3
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, files , 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, 10:36 AM   #4
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



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 12:41 PM
Projects shivaligupta Programming 1 01-31-2005 07:29 AM
Regarding Projects... coolguy_iiit Linux - General 1 10-07-2004 06:16 AM
C++ Projects? lramos85 Programming 7 02-27-2004 08:24 AM
Newbie Needs Projects!!! ferretmanus Linux - Newbie 11 12-20-2003 07:32 PM

All times are GMT -5. The time now is 03:34 PM.

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