User forums > Help

error when compiling from svn sources (25-10/2006)

<< < (7/7)

afb:

--- Quote from: afb on October 31, 2006, 03:23:30 pm ---Will do up a proper patch for the other change, to the autoconf.

--- End quote ---
http://developer.berlios.de/patch/index.php?func=detailpatch&patch_id=1604&group_id=5358

Brain Damage:
yup, my local is italian and my svn client is translated in italian as well.

i updated to revision 3163 (should contain the fixes) today (1/11/06)

i tried to run the following commands:
./bootstrap
./configure --enable-contrib
until now all fine
then i tried to run make
i keep getting the error started in the first post in this thread
then i tried anoter way:
make dist
it created correctly the tar package
i tried to copy to my rpm source folder & create the rpm:

sudo mv codeblocks-trunk-r$REVISION.tar.gz $RPM_TOPDIR/SOURCES
rpmbuild -bs codeblocks.spec

but i did get the following error:

error: Package already exists: %package debug (but no package is present, the folder is empty)

(this probably since i tried before to force to install a rpm nighty build)

trying to not loose hopes i extractied the tar package in a folder and i did run:

./configure --enable-contrib
make (this time it compiled correctly)
# make install
the installation runs fine but when i do try to run it, it reports that it misses a file (can't find wich file)

if the make directly from the svn sources would be fixed (no more mismatching language), would i still get the same error (missing file) after compling?

afb:

--- Quote from: Brain Damage on November 01, 2006, 11:49:12 am ---but i did get the following error:

error: Package already exists: %package debug (but no package is present, the folder is empty)

(this probably since i tried before to force to install a rpm nighty build)

--- End quote ---

This sounds like an RPM error, with the specfile on your platform.
AFAIK that debug package is a thing that SUSE/Mandriva does... ?


--- Code: ---%{?debugrpm:%debug_package}
--- End code ---

If you list your RPM settings, it should give you some clues to how it
is trying to define the debug package in the spec ? (rpmbuild --showrc)

Brain Damage:
i do use mandriva linux 2007 with kernel 2.6.17-5; the rpmbuild version is 4.4.6.

sorry for not being much "skilled" but i switched to linux very recently & i am not a good programmer since i only write small programs for myself when i do need (in my free time), thanks anyway for the help.

i check out the output of the rpmbuild configuration; those are the lines of codes that i belive that they define the debug package, they don't tell me much so i hope that someone may be able to understand them and tell me what's wrong (if needed, the output.txt attached file is the complete settings dump):


--- Code: ---%{nil}
-14: debug_package
%ifnarch noarch
%global __debug_package 1
%package debug
Summary: Debug information for package %{name}
Group: Development/Debug
AutoReqProv: 0
%description debug
This package provides debug information for package %{name}.
Debug information is useful when developing applications that use this
package or when debugging this package.
%files debug -f debugfiles.list
%defattr(-,root,root)
%endif
%{nil}
-14: debugcflags %{?_enable_debug_packages:-g}
-14: defined %{expand:%%{?%{1}:1}%%{!?%{1}:0}}
-14: distribution Mandriva Linux
-14: distsuffix mdv
-14: find_lang /usr/lib/rpm/mandriva/find-lang.sh %{buildroot}
-14: install %{?_enable_debug_packages:%{?buildsubdir:%{debug_package}}}
%%install
[ %{_with install} -eq 1 ] || exit 0
%{nil}
-14: ix86 i386 i486 i586 i686 pentium3 pentium4 athlon k6
-14: make %{_make_bin} %_smp_mflags
-14: make_session if [ -x %{_fndsession_bin} ]; then %{_fndsession_bin} || true ; fi
%{nil}
--- End code ---

[attachment deleted by admin]

skoehler:
Hi!

i have a plea:
please use LANG=C on Linux.

On Gentoo Linux, the en_US profile may not be installed. Gentoo users have the choice, which locales they install, and which they don't.

I have read, that LANG=C doesn't work on Windows. Well, i have no suggestion :-(
Isn't it possible to detect Windows via configure and then use LANG=C if we have Linux, OSX, BSD, ... (and not Windows).

Well, i hope that LANG=C works on more platforms than Linux.

Navigation

[0] Message Index

[*] Previous page

Go to full version